python3.pkgs.doc8: fix build dependency constraints
This commit is contained in:
parent
5d6575d589
commit
f893ddad88
1 changed files with 12 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, chardet
|
||||
, docutils
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, pygments
|
||||
|
@ -10,6 +11,7 @@
|
|||
, restructuredtext_lint
|
||||
, setuptools-scm
|
||||
, stevedore
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -24,8 +26,18 @@ buildPythonPackage rec {
|
|||
hash = "sha256-2XqT6PWi78RxOggEZX3trYN0XMpM0diN6Rhvd/l3YAQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/PyCQA/doc8/pull/146
|
||||
(fetchpatch {
|
||||
name = "remove-setuptools-scm-git-archive.patch";
|
||||
url = "https://github.com/PyCQA/doc8/commit/06416e95041db92e4295b13ab596351618f6b32e.patch";
|
||||
hash = "sha256-IIE3cDNOx+6RLjidGrokyazaX7MOVbMKUb7yQIM5sI0=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
Loading…
Reference in a new issue