3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.scmrepo: remove postPatch section

This commit is contained in:
Fabian Affolter 2023-03-15 11:46:28 +01:00
parent 8501dae216
commit 7cab652fe7

View file

@ -11,6 +11,7 @@
, pygtrie
, pythonOlder
, setuptools
, setuptools-scm
, shortuuid
}:
@ -28,14 +29,11 @@ buildPythonPackage rec {
hash = "sha256-MREY8i6FIeRyjcCKvS8gthsVql81x4Ab7gA7yFgwNoQ=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "asyncssh>=2.7.1,<2.9" "asyncssh>=2.7.1" \
--replace "pathspec>=0.9.0,<0.10.0" "pathspec"
'';
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [