python312Packages.glymur: 0.13.4 -> 0.13.6 (#373431)

authored by Arne Keller and committed by GitHub 143a0284 0b2095fb

+13 -6
+13 -6
pkgs/development/python-modules/glymur/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 buildPythonPackage, 5 - substituteAll, 5 + fetchFromGitHub, 6 + fetchpatch, 6 7 glibc, 7 8 libtiff, 8 - openjpeg, 9 - fetchFromGitHub, 10 9 lxml, 11 10 numpy, 11 + openjpeg, 12 12 pytestCheckHook, 13 13 pythonOlder, 14 14 scikit-image, 15 15 setuptools, 16 + substituteAll, 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "glymur"; 20 - version = "0.13.4"; 21 + version = "0.13.6"; 21 22 pyproject = true; 22 23 23 - disabled = pythonOlder "3.6"; 24 + disabled = pythonOlder "3.10"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "quintusdias"; 27 28 repo = "glymur"; 28 29 tag = "v${version}"; 29 - hash = "sha256-RzRZuSNvlUrB+J93a1ob7dDMacZB082JwVHQ9Fce2JA="; 30 + hash = "sha256-tIvDhlFPpDxC3CgBDT0RN9MM8ycY+J1hjcLXzx14Zhs="; 30 31 }; 31 32 32 33 patches = [ 34 + # Numpy 2.x compatibility, https://github.com/quintusdias/glymur/pull/675 35 + (fetchpatch { 36 + name = "numpy2-compat.patch"; 37 + url = "https://github.com/quintusdias/glymur/commit/89b159299035ebb05776c3b90278f410ca6dba64.patch"; 38 + hash = "sha256-C/Q5WZmW5YtN3U8fxKljfqwKHtFLfR2LQ69Tj8SuIWg="; 39 + }) 33 40 (substituteAll { 34 41 src = ./set-lib-paths.patch; 35 42 openjp2_lib = "${lib.getLib openjpeg}/lib/libopenjp2${stdenv.hostPlatform.extensions.sharedLibrary}";