diff options
author | Tom Hunger <tehunger@gmail.com> | 2017-09-24 14:40:19 +0100 |
---|---|---|
committer | Tom Hunger <tehunger@gmail.com> | 2017-09-24 20:36:55 +0100 |
commit | 83e48f770bcdbbe2479c8424a3a91adf620b2784 (patch) | |
tree | 7b833b73a81a4a110434815725d236501828207e /pkgs/development/python-modules/xarray | |
parent | 8cc240af22eb57284df4b5bca3c9f3332aa96025 (diff) | |
download | nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar.gz nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar.bz2 nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar.lz nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar.xz nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.tar.zst nixlib-83e48f770bcdbbe2479c8424a3a91adf620b2784.zip |
xarray: Add upstream patch to fix tests. (#28643)
Diffstat (limited to 'pkgs/development/python-modules/xarray')
-rw-r--r-- | pkgs/development/python-modules/xarray/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index 7b9712dfd023..1215e613f6fa 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -5,6 +5,7 @@ , numpy , pandas , python +, fetchurl }: buildPythonPackage rec { @@ -17,6 +18,15 @@ buildPythonPackage rec { sha256 = "f649a41d43b5a6c64bdcbd57e994932656b689f9593a86dd0be95778a2b47494"; }; + # Temporary patch until next release (later than 0.9.6) to fix + # a broken test case. + patches = [ + (fetchurl { + url = "https://github.com/pydata/xarray/commit/726c6a3638ecf95889c541d84e892a106c2f2f92.patch"; + sha256 = "1i2hsj5v5qlvqfj48vyn9931yndsf4k4wrk3qpqpywh32s7r007b"; + }) + ]; + buildInputs = [ pytest ]; propagatedBuildInputs = [numpy pandas]; |