python3Packages.flask-restful: only apply patch if necessary
This commit is contained in:
parent
1d370bd073
commit
9d32e349d2
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytz
|
, pytz
|
||||||
, six
|
, six
|
||||||
|
, werkzeug
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -25,7 +26,7 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-zOxlC4NdSBkhOMhTKa4Dc15s7VjpstnCFG1shMBvpT4=";
|
hash = "sha256-zOxlC4NdSBkhOMhTKa4Dc15s7VjpstnCFG1shMBvpT4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = lib.optionals (lib.versionAtLeast werkzeug.version "2.1.0") [
|
||||||
./werkzeug-2.1.0-compat.patch
|
./werkzeug-2.1.0-compat.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue