Merge pull request #194092 from Luflosi/update/python3Packages.sphinx-basic-ng

This commit is contained in:
Sandro 2022-10-13 17:59:41 +02:00 committed by GitHub
commit d0c935df26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,30 +2,21 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-basic-ng";
version = "0.0.1.a12";
version = "1.0.0.beta1";
disable = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = "sphinx-basic-ng";
rev = version;
sha256 = "sha256-3/a/xHPNO96GEMLgWGTLdFoojVsjNyxYgY1gAZr75S0=";
sha256 = "sha256-Zh9KvKs4js+AVSfIk0pAj6Kzq/O2m/MGTF+HCwYJTXk=";
};
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
];