3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/dask/default.nix

42 lines
742 B
Nix
Raw Normal View History

2017-06-02 16:05:50 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pythonOlder
2017-06-02 16:05:50 +01:00
, cloudpickle
, numpy
, toolz
, dill
, pandas
, partd
}:
buildPythonPackage rec {
pname = "dask";
2019-05-30 07:47:55 +01:00
version = "1.2.2";
2017-06-02 16:05:50 +01:00
disabled = pythonOlder "3.5";
2017-06-02 16:05:50 +01:00
src = fetchPypi {
inherit pname version;
2019-05-30 07:47:55 +01:00
sha256 = "5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c";
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 ];
};
}