nixpkgs-suyu/pkgs/development/python-modules/dask/default.nix

40 lines
728 B
Nix
Raw Normal View History

2017-06-02 17:05:50 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, cloudpickle
, numpy
, toolz
, dill
, pandas
, partd
}:
buildPythonPackage rec {
pname = "dask";
2018-05-09 16:46:15 +02:00
version = "0.17.4";
2017-06-02 17:05:50 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-05-09 16:46:15 +02:00
sha256 = "c111475a3d1f8cba41c8094e1fb1831c65015390dcef0308042a11a9606a2f6d";
2017-06-02 17:05:50 +02:00
};
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/;
2017-06-02 17:05:50 +02:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}