Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 731 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, numpy 6, pandas 7, setuptools 8, isPy3k 9, setuptools-scm 10}: 11 12buildPythonPackage rec { 13 pname = "xarray"; 14 version = "0.17.0"; 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "9c2edad2a4e588f9117c666a4249920b9717fb75703b96998cf65fcd4f60551f"; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 propagatedBuildInputs = [ numpy pandas setuptools ]; 24 checkInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "xarray" ]; 27 28 meta = { 29 description = "N-D labeled arrays and datasets in Python"; 30 homepage = "https://github.com/pydata/xarray"; 31 license = lib.licenses.asl20; 32 maintainers = with lib.maintainers; [ fridh ]; 33 }; 34}