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

45 lines
1.0 KiB
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservicesbackup";
version = "9.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Hp/UBsDJ7iYn9aNx8BL4dzQvf8bzOyVk/NFNbwZjzQ8=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
isodate
];
# 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";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-recoveryservicesbackup_${version}/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}