@@ -1,4 +1,4 @@
1−{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
1+{ lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder
22, pandas, shapely, fiona, pyproj
33, pytestCheckHook, Rtree }:
44
@@ -14,6 +14,19 @@ buildPythonPackage rec {
1414 sha256 = "sha256-58X562OkRzZ4UTNMTwXW4U5czoa5tbSMBCcE90DqbaE=";
1515 };
1616
17+ patches = [
18+ (fetchpatch {
19+ name = "skip-pandas-master-fillna-test.patch";
20+ url = "https://github.com/geopandas/geopandas/pull/1878.patch";
21+ sha256 = "1yw3i4dbhaq7f02n329b9y2cqxbwlz9db81mhgrfc7af3whwysdb";
22+ })
23+ (fetchpatch {
24+ name = "fix-proj4strings-test.patch";
25+ url = "https://github.com/geopandas/geopandas/pull/1958.patch";
26+ sha256 = "0kzmpq5ry87yvhqr6gnh9p2606b06d3ynzjvw0hpp9fncczpc2yn";
27+ })
28+ ];
29+
1730 propagatedBuildInputs = [
1831 pandas
1932 shapely