From 213fce357f4a5fbd8b710d3ef9e8014e5ee71fe0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 May 2022 15:37:12 +0200 Subject: [PATCH] python310Packages.dask-jobqueue: disable on older Python releases --- .../python-modules/dask-jobqueue/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dask-jobqueue/default.nix b/pkgs/development/python-modules/dask-jobqueue/default.nix index 7b0dcaca25e3..430047cb790c 100644 --- a/pkgs/development/python-modules/dask-jobqueue/default.nix +++ b/pkgs/development/python-modules/dask-jobqueue/default.nix @@ -7,15 +7,19 @@ , fetchPypi , pytest-asyncio , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { - version = "0.7.3"; pname = "dask-jobqueue"; + version = "0.7.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79"; + hash = "sha256-aC18wOazGbarg6eomGgMEunHfdx33zgLQAQSkPVdTnk="; }; propagatedBuildInputs = [ @@ -39,12 +43,14 @@ buildPythonPackage rec { "test_security" ]; - pythonImportsCheck = [ "dask_jobqueue" ]; + pythonImportsCheck = [ + "dask_jobqueue" + ]; meta = with lib; { broken = stdenv.isDarwin; - homepage = "https://github.com/dask/dask-jobqueue"; description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE"; + homepage = "https://github.com/dask/dask-jobqueue"; license = licenses.bsd3; maintainers = with maintainers; [ costrouc ]; };