1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, numpy 6, pandas 7, python 8, fetchurl 9}: 10 11buildPythonPackage rec { 12 pname = "xarray"; 13 version = "0.10.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "af1449e8df84a6eb09eb1d56c1dc5ac7f24a9563d4f2b9391ff364dc0c62344c"; 18 }; 19 20 checkInputs = [ pytest ]; 21 propagatedBuildInputs = [numpy pandas]; 22 23 checkPhase = '' 24 py.test $out/${python.sitePackages} 25 ''; 26 27 # There always seem to be broken tests... 28 doCheck = false; 29 30 meta = { 31 description = "N-D labeled arrays and datasets in Python"; 32 homepage = https://github.com/pydata/xarray; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ fridh ]; 35 }; 36}