@@ -3,7 +3,6 @@
33, python
44, buildPythonPackage
55, fetchFromGitHub
6−, fetchpatch
76, substituteAll
87, file
98, glibcLocales
@@ -11,23 +10,16 @@
1110
1211buildPythonPackage rec {
1312 pname = "python-magic";
14− version = "0.4.24";
13+ version = "0.4.25";
1514
1615 src = fetchFromGitHub {
1716 owner = "ahupp";
1817 repo = "python-magic";
1918 rev = version;
20− sha256 = "17jalhjbfd600lzfz296m0nvgp6c7vx1mgz82jbzn8hgdzknf4w0";
19+ sha256 = "sha256-h7YQVH5Z7zunT6AdLPBh3TWpxLpZ5unSHDhkVDFOWDI=";
2120 };
2221
2322 patches = [
24− # pull upstream patch to support file-5.41
25− (fetchpatch {
26− name = "file-5.41-compat.patch";
27− url = "https://github.com/ahupp/python-magic/commit/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch";
28− sha256 = "0vclaamb56nza1mcy88wjbkh81hnish2gzvl8visa2cknhgdmk50";
29− })
30−
3123 (substituteAll {
3224 src = ./libmagic-path.patch;
3325 libmagic = "${file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}";