1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 sphinx,
7}:
8
9buildPythonPackage rec {
10 pname = "sphinx-basic-ng";
11 version = "1.0.0.beta2";
12 format = "setuptools";
13 disabled = pythonOlder "3.7";
14
15 src = fetchFromGitHub {
16 owner = "pradyunsg";
17 repo = "sphinx-basic-ng";
18 rev = version;
19 hash = "sha256-MHBGIKOKhGklrx3O075LRud8NhY2hzlTWh+jalrFpko=";
20 };
21
22 propagatedBuildInputs = [ sphinx ];
23
24 # no tests implemented
25 doCheck = false;
26
27 pythonImportsCheck = [ "sphinx_basic_ng" ];
28
29 meta = with lib; {
30 description = "Modernised skeleton for Sphinx themes";
31 homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ Luflosi ];
34 };
35}