nixpkgs/pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix

48 lines
946 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservices";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-2JeOvtNxx6Z3AY4GI9fBRKbMcYVHsbrhk8C+5t5eelk=";
};
propagatedBuildInputs = [
azure-common
azure-mgmt-core
msrest
msrestazure
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"azure.mgmt.recoveryservices"
];
meta = with lib; {
description = "This is the Microsoft Azure Recovery Services Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}