git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.geopandas: fix tests
commit7e6325efd413bd72df9b9a89af9669f843120b11 authorRobert Schütz <nix@dotlambda.de> dateSun 19 Sep 2021, 08:50 (5 years ago) parent042eebd
1 file changed+14−1
pkgs/development/python-modules/geopandas/default.nix+14−1
pkgs/development/python-modules/geopandas/default.nix+14−1
@@ -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