1{ lib 2, buildPythonPackage 3, dask 4, distributed 5, docrep 6, fetchPypi 7, pytest-asyncio 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 version = "0.7.3"; 13 pname = "dask-jobqueue"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79"; 18 }; 19 20 propagatedBuildInputs = [ 21 dask 22 distributed 23 docrep 24 ]; 25 26 checkInputs = [ 27 pytest-asyncio 28 pytestCheckHook 29 ]; 30 31 pytestFlagsArray = [ 32 # Do not run entire tests suite (requires slurm, sge, etc.) 33 "dask_jobqueue/tests/test_jobqueue_core.py" 34 ]; 35 36 disabledTests = [ 37 "test_import_scheduler_options_from_config" 38 "test_security" 39 ]; 40 41 pythonImportsCheck = [ "dask_jobqueue" ]; 42 43 meta = with lib; { 44 homepage = "https://github.com/dask/dask-jobqueue"; 45 description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE"; 46 license = licenses.bsd3; 47 maintainers = with maintainers; [ costrouc ]; 48 }; 49}