python312Packages.azure-mgmt-reservations: remove msrestazure dependency (#362150)

This commit is contained in:
Fabian Affolter
2024-12-20 21:10:31 +01:00
committed by GitHub
@@ -2,19 +2,18 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
msrestazure,
azure-common,
azure-mgmt-core,
typing-extensions,
pythonOlder,
}:
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
version = "2.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
@@ -22,20 +21,21 @@ buildPythonPackage rec {
hash = "sha256-BHCFEFst5jfyIEo0hm86belpxW7EygZCBJ8PTqzqHKc=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
msrest
msrestazure
azure-common
azure-mgmt-core
];
] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
# has no tests
doCheck = false;
meta = with lib; {
meta = {
description = "This is the Microsoft Azure Reservations Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}