1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "alabaster";
10 version = "1.0.0";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "sphinx-doc";
15 repo = "alabaster";
16 rev = "refs/tags/${version}";
17 hash = "sha256-aQEhFZUJs0TptfpjQVoIVI9V9a+xKjE2OfStSaJKHGI=";
18 };
19
20 build-system = [ flit-core ];
21
22 pythonImportsCheck = [ "alabaster" ];
23
24 # No tests included
25 doCheck = false;
26
27 meta = {
28 changelog = "https://github.com/sphinx-doc/alabaster/blob/${src.rev}/docs/changelog.rst";
29 homepage = "https://github.com/sphinx-doc/alabaster";
30 description = "Light, configurable Sphinx theme";
31 license = lib.licenses.bsd3;
32 teams = [ lib.teams.sphinx ];
33 };
34}