python.pkgs.xarray: 0.9.6 -> 0.10.0

This commit is contained in:
Frederik Rietdijk 2017-12-31 14:14:52 +01:00
parent c6b3be2e9a
commit 3cf4d2365f

View File

@ -10,30 +10,23 @@
buildPythonPackage rec {
pname = "xarray";
version = "0.9.6";
name = "${pname}-${version}";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "f649a41d43b5a6c64bdcbd57e994932656b689f9593a86dd0be95778a2b47494";
sha256 = "af1449e8df84a6eb09eb1d56c1dc5ac7f24a9563d4f2b9391ff364dc0c62344c";
};
# 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 ];
checkInputs = [ pytest ];
propagatedBuildInputs = [numpy pandas];
checkPhase = ''
py.test $out/${python.sitePackages}
'';
# There always seem to be broken tests...
doCheck = false;
meta = {
description = "N-D labeled arrays and datasets in Python";
homepage = https://github.com/pydata/xarray;