diff options
| author | Mateo Diaz <mateodd@icloud.com> | 2023-02-18 20:23:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-18 20:23:32 -0800 |
| commit | c9856caec240060bbfecde2d01fe7f4804ad82b4 (patch) | |
| tree | 35b2588d38f3038bb95a3633c57438bb6f3a71ca /pkgs/development/python-modules/python-magic | |
| parent | 514178918f7f97a066911c0ce3fc2d41f550a934 (diff) | |
| parent | a3c24f953573af4e6964f2f0099a34a9dc4ba236 (diff) | |
Merge branch 'NixOS:master' into swww
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 = '' |
