2018-09-13 20:14:25 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
, docrep
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:01:45 +01:00
|
|
|
version = "0.7.1";
|
2018-09-13 20:14:25 +01:00
|
|
|
pname = "dask-jobqueue";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:45 +01:00
|
|
|
sha256 = "d32ddf3e3c7db29ace102037fa5f61c8db2d945176454dc316a6ffdb8bbfe88b";
|
2018-09-13 20:14:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dask/dask-jobqueue";
|
2018-09-13 20:14:25 +01:00
|
|
|
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|