diff options
| author | Vladimír Čunát <v@cunat.cz> | 2023-02-13 15:44:13 +0100 |
|---|---|---|
| committer | Vladimír Čunát <v@cunat.cz> | 2023-02-13 15:44:13 +0100 |
| commit | dc2feb983fa71bc8fe20891e016118ba132d2869 (patch) | |
| tree | f3357bf6b3aecb32b783ecc3b21c71ce8a4a8887 /pkgs/development/python-modules/python-magic | |
| parent | 75cdc109f0462ec83af02cb8c458a239dcb8f5db (diff) | |
| parent | f1f9ae6a3b31cdbc3b8fc84d07fdea26a1d2f67f (diff) | |
Merge branch 'master' into haskell-updates
f1f9ae6a3b causes everything to rebuild
Diffstat (limited to 'pkgs/development/python-modules/python-magic')
| -rw-r--r-- | pkgs/development/python-modules/python-magic/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-magic/default.nix b/pkgs/development/python-modules/python-magic/default.nix index 725849fee078..358a647d52d9 100644 --- a/pkgs/development/python-modules/python-magic/default.nix +++ b/pkgs/development/python-modules/python-magic/default.nix @@ -2,6 +2,7 @@ , stdenv , buildPythonPackage , fetchFromGitHub +, fetchpatch , substituteAll , file , pytestCheckHook @@ -23,6 +24,11 @@ buildPythonPackage rec { src = ./libmagic-path.patch; libmagic = "${file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}"; }) + (fetchpatch { + name = "update-test-for-upstream-added-gzip-extensions.patch"; + url = "https://github.com/ahupp/python-magic/commit/4ffcd59113fa26d7c2e9d5897b1eef919fd4b457.patch"; + hash = "sha256-67GpjlGiR4/os/iZ69V+ZziVLpjmid+7t+gQ2aQy9I0="; + }) ]; preCheck = '' |
