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