diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-02-02 12:02:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-02 12:02:05 +0000 |
| commit | 978e92d99780793f07d4338aa1815ddfb083ff23 (patch) | |
| tree | 55e213523a2f96fe5506d334cfc27f569d40de93 /pkgs/development/python-modules/python-magic | |
| parent | a67949a3fca213ae0c6eddceaa0ec744ed670db5 (diff) | |
| parent | fffb187b8ebea382b02a70d20dee945fbadd3359 (diff) | |
Merge staging-next into staging
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 = '' |
