1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, sphinx
6}:
7
8buildPythonPackage rec {
9 pname = "sphinx-basic-ng";
10 version = "1.0.0.beta2";
11 disabled = pythonOlder "3.7";
12
13 src = fetchFromGitHub {
14 owner = "pradyunsg";
15 repo = "sphinx-basic-ng";
16 rev = version;
17 hash = "sha256-MHBGIKOKhGklrx3O075LRud8NhY2hzlTWh+jalrFpko=";
18 };
19
20 propagatedBuildInputs = [
21 sphinx
22 ];
23
24 # no tests implemented
25 doCheck = false;
26
27 pythonImportsCheck = [ "sphinx_basic_ng" ];
28
29 meta = with lib; {
30 description = "A 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}