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

44 lines
891 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservicesbackup";
version = "6.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-lIEYi/jvF9pYbnH+clUzfU0fExlY+dZojIyZRtTLQh8=";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"azure.mgmt.recoveryservicesbackup"
];
meta = with lib; {
description = "This is the Microsoft Azure Recovery Services Backup Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}