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

39 lines
695 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";
2019-04-16 18:15:35 +01:00
version = "1.1.5";
2017-06-02 16:05:50 +01:00
src = fetchPypi {
inherit pname version;
2019-04-16 18:15:35 +01:00
sha256 = "4b0b82a4d61714d3a49953274b1a8a689a51eacf89c4c2ff18aa7f6282ce515e";
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 = https://github.com/ContinuumIO/dask/;
2017-06-02 16:05:50 +01:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}