Skip to content

Commit 0e82ab2

Browse files
authored
python312Packages.rasterio: 1.4.2 -> 1.4.3 (NixOS#362893)
2 parents 73eb544 + 75a9c0d commit 0e82ab2

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333

3434
buildPythonPackage rec {
3535
pname = "rasterio";
36-
version = "1.4.2";
36+
version = "1.4.3";
3737
format = "pyproject";
3838

3939
disabled = pythonOlder "3.8";
4040

4141
src = fetchFromGitHub {
4242
owner = "rasterio";
4343
repo = "rasterio";
44-
rev = "refs/tags/${version}";
45-
hash = "sha256-YGSd0IG6TWnHmDiVEE3F2KNQ4dXJhkPqAJsIrWyuHos=";
44+
tag = version;
45+
hash = "sha256-InejYBRa4i0E2GxEWbtBpaErtcoYrhtypAlRtMlUoDk=";
4646
};
4747

4848
nativeBuildInputs = [

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)