Skip to content

Commit

Permalink
python311Packages.httpbin: backport flask 3.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jan 26, 2024
1 parent e5d3d38 commit ac2b358
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/httpbin/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonRelaxDepsHook

# build-system
Expand Down Expand Up @@ -33,6 +34,14 @@ buildPythonPackage rec {
hash = "sha256-e4WWvrDnWntlPDnR888mPW1cR20p4d9ve7K3C/nwaj0=";
};

patches = [
(fetchpatch {
# backport flask 3.0 support; drop after 0.10.1
url = "https://github.com/psf/httpbin/commit/c1d9e33049263fed3cb27806a97f094acc350905.patch";
hash = "sha256-SYJgQN3ERDgLIaBc4eqDfey+EX4z6CSxLoAA7j+16xI=";
})
];

nativeBuildInputs = [
setuptools
pythonRelaxDepsHook
Expand Down

0 comments on commit ac2b358

Please sign in to comment.