python3Packages.flask-restx: patch for werkzeug 2.1 compat
This commit is contained in:
parent
75331fc5e5
commit
fa37f4a1ff
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, aniso8601
|
, aniso8601
|
||||||
, jsonschema
|
, jsonschema
|
||||||
, flask
|
, flask
|
||||||
@ -28,6 +29,20 @@ buildPythonPackage rec {
|
|||||||
sha256 = "18vrmknyxw6adn62pz3kr9kvazfgjgl4pgimdf8527fyyiwcqy15";
|
sha256 = "18vrmknyxw6adn62pz3kr9kvazfgjgl4pgimdf8527fyyiwcqy15";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fixes werkzeug 2.1 compatibility
|
||||||
|
(fetchpatch {
|
||||||
|
# https://github.com/python-restx/flask-restx/pull/427
|
||||||
|
url = "https://github.com/python-restx/flask-restx/commit/bb72a51860ea8a42c928f69bdd44ad20b1f9ee7e.patch";
|
||||||
|
hash = "sha256-DRH3lI6TV1m0Dq1VyscL7GQS26OOra9g88dXZNrNpmQ=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
# https://github.com/python-restx/flask-restx/pull/427
|
||||||
|
url = "https://github.com/python-restx/flask-restx/commit/bb3e9dd83b9d4c0d0fa0de7d7ff713fae71eccee.patch";
|
||||||
|
hash = "sha256-HJpjG4aQWzEPCMfbXfkw4mz5TH9d89BCvGH2dE6Jfv0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aniso8601
|
aniso8601
|
||||||
flask
|
flask
|
||||||
|
Loading…
Reference in New Issue
Block a user