2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-09-13 20:14:25 +01:00
|
|
|
, 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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
}
|