nixpkgs/pkgs/development/python-modules/dask/default.nix
2017-12-30 17:06:32 +01:00

39 lines
728 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, cloudpickle
, numpy
, toolz
, dill
, pandas
, partd
}:
buildPythonPackage rec {
pname = "dask";
version = "0.16.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "40d150b73e3366c9521e9dde206046a66906330074f87be901b1e1013ce6cb73";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
checkPhase = ''
py.test dask
'';
# URLError
doCheck = false;
meta = {
description = "Minimal task scheduling abstraction";
homepage = https://github.com/ContinuumIO/dask/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}