python310Packages.azure-batch: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-11-10 09:05:50 +01:00 committed by GitHub
parent 49beacfe5c
commit 74cf3d8455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,16 +4,20 @@
, msrest
, azure-common
, msrestazure
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-batch";
version = "13.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
hash = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
};
propagatedBuildInputs = [
@ -22,10 +26,12 @@ buildPythonPackage rec {
azure-common
];
# has no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.batch" ];
pythonImportsCheck = [
"azure.batch"
];
meta = with lib; {
description = "This is the Microsoft Azure Batch Client Library";