python3Packages.sphinx-basic-ng: init at 0.0.1.a11
This commit is contained in:
parent
f0fd062ff6
commit
cf78484db0
44
pkgs/development/python-modules/sphinx-basic-ng/default.nix
Normal file
44
pkgs/development/python-modules/sphinx-basic-ng/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, sphinx
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sphinx-basic-ng";
|
||||||
|
version = "0.0.1.a11";
|
||||||
|
disable = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pradyunsg";
|
||||||
|
repo = "sphinx-basic-ng";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-Eur3CadC2NTuBXosG4SN9t2L0qkqN+Q79bcvhvlG/f8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-import-error.patch";
|
||||||
|
url = "https://github.com/pradyunsg/sphinx-basic-ng/pull/32/commits/323a0085721b908aa11bc3c36c51e16f517ee023.patch";
|
||||||
|
sha256 = "sha256-/G1wLG/08u2s3YENSKSYekLrV1fUkxDAlxc3crTQNHk=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
sphinx
|
||||||
|
];
|
||||||
|
|
||||||
|
# no tests implemented
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "sphinx_basic_ng" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A modernised skeleton for Sphinx themes";
|
||||||
|
homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10014,6 +10014,8 @@ in {
|
||||||
|
|
||||||
sphinx-autobuild = callPackage ../development/python-modules/sphinx-autobuild { };
|
sphinx-autobuild = callPackage ../development/python-modules/sphinx-autobuild { };
|
||||||
|
|
||||||
|
sphinx-basic-ng = callPackage ../development/python-modules/sphinx-basic-ng { };
|
||||||
|
|
||||||
sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { };
|
sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { };
|
||||||
|
|
||||||
sphinx-inline-tabs = callPackage ../development/python-modules/sphinx-inline-tabs { };
|
sphinx-inline-tabs = callPackage ../development/python-modules/sphinx-inline-tabs { };
|
||||||
|
|
Loading…
Reference in a new issue