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

40 lines
727 B
Nix
Raw Normal View History

2017-06-02 16:05:50 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, cloudpickle
, numpy
, toolz
, dill
, pandas
, partd
}:
buildPythonPackage rec {
pname = "dask";
2017-10-25 19:04:35 +01:00
version = "0.15.4";
2017-06-02 16:05:50 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-10-25 19:04:35 +01:00
sha256 = "cb93b8260f5f854ccf26b52bdc700600a08e6b7527085c7b7d63c04238bab9ea";
2017-06-02 16:05:50 +01:00
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
checkPhase = ''
py.test dask
'';
# URLError
doCheck = false;
meta = {
description = "Minimal task scheduling abstraction";
homepage = http://github.com/ContinuumIO/dask/;
2017-06-02 16:05:50 +01:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}