From 0b97370eb9124d58dc2322467bea7ea7564f75df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 18 Sep 2021 16:36:00 -0700 Subject: [PATCH] python3Packages.cartopy: 0.19.0.post1 -> 0.20.0 --- pkgs/development/python-modules/cartopy/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cartopy/default.nix b/pkgs/development/python-modules/cartopy/default.nix index d3953137167a..73d172941c2e 100644 --- a/pkgs/development/python-modules/cartopy/default.nix +++ b/pkgs/development/python-modules/cartopy/default.nix @@ -8,14 +8,21 @@ buildPythonPackage rec { pname = "cartopy"; - version = "0.19.0.post1"; + version = "0.20.0"; src = fetchPypi { inherit version; pname = "Cartopy"; - sha256 = "0xnm8z3as3hriivdfd26s6vn5b63gb46x6vxw6gh1mwfm5rlg2sb"; + sha256 = "eae58aff26806e63cf115b2bce9477cedc4aa9f578c5e477b2c25cfa404f2b7a"; }; + postPatch = '' + # https://github.com/SciTools/cartopy/issues/1880 + substituteInPlace lib/cartopy/tests/test_crs.py \ + --replace "test_osgb(" "dont_test_osgb(" \ + --replace "test_epsg(" "dont_test_epsg(" + ''; + buildInputs = [ geos proj ];