summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-magic
diff options
context:
space:
mode:
authorSimon Schoeters <b2282e9d-46e8-4ec4-946a-b6ad84078b1c@astil.be>2023-10-25 10:35:56 +0200
committerSimon Schoeters <b2282e9d-46e8-4ec4-946a-b6ad84078b1c@astil.be>2023-10-25 10:35:56 +0200
commit08bbcb9709bf437b48649e010bcdd08763e2baa6 (patch)
tree3b98ca52f95651fddbbbab3d9c51a51982dd4778 /pkgs/development/python-modules/python-magic
parentf55cd62e54332373819230b6d8bf27160d4f6ca1 (diff)
parent02c6061679c99546ccff9ca241025134411e13ad (diff)
Merge branch 'master' into add-scalingo-package
Diffstat (limited to 'pkgs/development/python-modules/python-magic')
-rw-r--r--pkgs/development/python-modules/python-magic/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-magic/default.nix b/pkgs/development/python-modules/python-magic/default.nix
index f90591a7fbff..890cfb50c2cc 100644
--- a/pkgs/development/python-modules/python-magic/default.nix
+++ b/pkgs/development/python-modules/python-magic/default.nix
@@ -29,6 +29,14 @@ buildPythonPackage rec {
url = "https://github.com/ahupp/python-magic/commit/4ffcd59113fa26d7c2e9d5897b1eef919fd4b457.patch";
hash = "sha256-67GpjlGiR4/os/iZ69V+ZziVLpjmid+7t+gQ2aQy9I0=";
})
+
+ # Upstream patch to amend test suite for-5.45:
+ # https://github.com/ahupp/python-magic/pull/290
+ (fetchpatch {
+ name = "file-5.45.patch";
+ url = "https://github.com/ahupp/python-magic/commit/3d2405ca80cd39b2a91decd26af81dcf181390a4.patch";
+ hash = "sha256-HRsnO9MGfMD9BkJdC4SrEFQ1OZEaXpwakXFLoaCPK94=";
+ })
];
preCheck = ''
@@ -43,6 +51,6 @@ buildPythonPackage rec {
description = "A python interface to the libmagic file type identification library";
homepage = "https://github.com/ahupp/python-magic";
license = licenses.mit;
- maintainers = with maintainers; [ SuperSandro2000 ];
+ maintainers = with maintainers; [ ];
};
}