pythonPackages.dask-jobqueue: init at 0.4.0

This commit is contained in:
Chris Ostrouchov 2018-09-13 15:14:25 -04:00
parent 32cb956fea
commit 41cd200b64
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, dask
, distributed
, docrep
, pytest
}:
buildPythonPackage rec {
version = "0.4.0";
pname = "dask-jobqueue";
src = fetchPypi {
inherit pname version;
sha256 = "c73dae82b2a1d2a9f4ef17778f0de7a9237671a7fd3374aadd9d2bc07e92e848";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ dask distributed docrep ];
# do not run entire tests suite (requires slurm, sge, etc.)
checkPhase = ''
py.test dask_jobqueue/tests/test_jobqueue_core.py
'';
meta = with stdenv.lib; {
homepage = https://github.com/dask/dask-jobqueue;
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1986,6 +1986,8 @@ in {
dask-glm = callPackage ../development/python-modules/dask-glm { };
dask-jobqueue = callPackage ../development/python-modules/dask-jobqueue { };
dask-ml = callPackage ../development/python-modules/dask-ml { };
datrie = callPackage ../development/python-modules/datrie { };