2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
, docrep
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "0.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dask-jobqueue";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "1767f4146b2663d9d2eaef62b882a86e1df0bccdb8ae68ae3e5e546aa6796d35";
|
2020-04-24 23:36:52 +00: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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/dask/dask-jobqueue";
|
|
|
|
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
2021-03-12 07:09:13 +00:00
|
|
|
broken = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|