2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-09-13 19:14:25 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
, docrep
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-02-20 09:09:08 +00:00
|
|
|
version = "0.7.2";
|
2018-09-13 19:14:25 +00:00
|
|
|
pname = "dask-jobqueue";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:08 +00:00
|
|
|
sha256 = "1767f4146b2663d9d2eaef62b882a86e1df0bccdb8ae68ae3e5e546aa6796d35";
|
2018-09-13 19:14:25 +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-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/dask/dask-jobqueue";
|
2018-09-13 19:14:25 +00:00
|
|
|
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
2021-03-08 01:12:30 +00:00
|
|
|
broken = true;
|
2018-09-13 19:14:25 +00:00
|
|
|
};
|
|
|
|
}
|