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

This commit is contained in:
Fabian Affolter 2022-12-04 10:55:38 +01:00 committed by GitHub
parent 1c13016a00
commit a3cf73d014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,18 +5,21 @@
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, isPy3k
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservices";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-2rU5Mc5tcSHEaej4LeiJ/WwWjk3fZFdd7MIwqmHgRss=";
hash = "sha256-2rU5Mc5tcSHEaej4LeiJ/WwWjk3fZFdd7MIwqmHgRss=";
};
propagatedBuildInputs = [
@ -24,13 +27,16 @@ buildPythonPackage rec {
azure-mgmt-core
msrest
msrestazure
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# has no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.recoveryservices" ];
pythonImportsCheck = [
"azure.mgmt.recoveryservices"
];
meta = with lib; {
description = "This is the Microsoft Azure Recovery Services Client Library";