python310Packages.azure-mgmt-batch: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-06-06 12:38:47 +02:00 committed by GitHub
parent 96c3ac67ea
commit a1037629f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,18 +5,20 @@
, msrestazure , msrestazure
, azure-common , azure-common
, azure-mgmt-core , azure-mgmt-core
, azure-mgmt-nspkg , pythonOlder
, isPy3k
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-batch"; pname = "azure-mgmt-batch";
version = "16.2.0"; version = "16.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "sha256-aWkQZs1aLIbo/arvu4DilAOBrO38gFPfGTtSFNLs5oI="; hash = "sha256-aWkQZs1aLIbo/arvu4DilAOBrO38gFPfGTtSFNLs5oI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -24,11 +26,9 @@ buildPythonPackage rec {
msrestazure msrestazure
azure-common azure-common
azure-mgmt-core azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
]; ];
# has no tests # Module has no tests
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {