Skip to content

Commit

Permalink
Merge pull request NixOS#308319 from soyouzpanda/fix-milksnake
Browse files Browse the repository at this point in the history
python311Packages.milksnake: fix regex for python 3.11
  • Loading branch information
matthiasbeyer authored May 2, 2024
2 parents 51f0aa6 + 75e2fd3 commit 92f75c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/milksnake/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, cffi }:
{ lib, buildPythonPackage, fetchPypi, fetchpatch, cffi }:

buildPythonPackage rec {
pname = "milksnake";
Expand All @@ -11,6 +11,14 @@ buildPythonPackage rec {
sha256 = "120nprd8lqis7x7zy72536gk2j68f7gxm8gffmx8k4ygifvl7kfz";
};

patches = [
(fetchpatch {
name = "fix-regex-python-311.patch";
url = "https://github.com/getsentry/milksnake/commit/421cc1ffab4d76d01366240c087ffb30d63b744c.diff";
hash = "sha256-U/C4CCX8SEOzVXNpOf4hVy2V3Lh6fUrFkz5z+h191C8=";
})
];

propagatedBuildInputs = [
cffi
];
Expand Down

0 comments on commit 92f75c7

Please sign in to comment.