python310Packages.azure-batch: disable on older Python releases
This commit is contained in:
parent
49beacfe5c
commit
74cf3d8455
@ -4,16 +4,20 @@
|
|||||||
, msrest
|
, msrest
|
||||||
, azure-common
|
, azure-common
|
||||||
, msrestazure
|
, msrestazure
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-batch";
|
pname = "azure-batch";
|
||||||
version = "13.0.0";
|
version = "13.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
|
hash = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -22,10 +26,12 @@ buildPythonPackage rec {
|
|||||||
azure-common
|
azure-common
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# Module has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.batch" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.batch"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This is the Microsoft Azure Batch Client Library";
|
description = "This is the Microsoft Azure Batch Client Library";
|
||||||
|
Loading…
Reference in New Issue
Block a user