python312Packages.azure-mgmt-reservations: modernize

This commit is contained in:
dish
2024-12-18 17:58:39 -05:00
parent 5247d2280a
commit bf2b5c745b
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
azure-common,
azure-mgmt-core,
@@ -12,9 +13,7 @@
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
version = "2.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
@@ -22,7 +21,9 @@ buildPythonPackage rec {
hash = "sha256-BHCFEFst5jfyIEo0hm86belpxW7EygZCBJ8PTqzqHKc=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
msrest
azure-common
azure-mgmt-core
@@ -31,10 +32,10 @@ buildPythonPackage rec {
# 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 ];
};
}