python310Packages.dask-jobqueue: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-05-28 15:37:12 +02:00
parent 0fce602773
commit 213fce357f

View File

@ -7,15 +7,19 @@
, fetchPypi , fetchPypi
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.7.3";
pname = "dask-jobqueue"; pname = "dask-jobqueue";
version = "0.7.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79"; hash = "sha256-aC18wOazGbarg6eomGgMEunHfdx33zgLQAQSkPVdTnk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -39,12 +43,14 @@ buildPythonPackage rec {
"test_security" "test_security"
]; ];
pythonImportsCheck = [ "dask_jobqueue" ]; pythonImportsCheck = [
"dask_jobqueue"
];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
homepage = "https://github.com/dask/dask-jobqueue";
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE"; description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
homepage = "https://github.com/dask/dask-jobqueue";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };