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