Skip to content

Commit 75a9c0d

Browse files
committed
python3Packages.rioxarray: fix tests with rasterio 1.4.3
1 parent a333cf5 commit 75a9c0d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkgs/development/python-modules/rioxarray/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
buildPythonPackage,
44
pythonOlder,
55
fetchFromGitHub,
6+
fetchpatch,
7+
68
# build-system
79
setuptools,
810
# dependencies
@@ -31,6 +33,14 @@ buildPythonPackage rec {
3133
hash = "sha256-0YsGu8JuYrb6lWuC3RQ4jCkulxxFpnd0eaRajCwtFHo=";
3234
};
3335

36+
patches = [
37+
# https://github.com/corteva/rioxarray/issues/836
38+
(fetchpatch {
39+
url = "https://github.com/corteva/rioxarray/commit/6294b7468587b8c243ee4f561a90ca8de90ea0f1.patch";
40+
hash = "sha256-0IvDAr17ymMN1J2vC1U3z/2N1Np1RaRjCAODZthQz8g=";
41+
})
42+
];
43+
3444
build-system = [ setuptools ];
3545

3646
dependencies = [

0 commit comments

Comments
 (0)