diff --git a/pkgs/development/python-modules/azure-mgmt-reservations/default.nix b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix index d382ded7d810..d88fccddc20c 100644 --- a/pkgs/development/python-modules/azure-mgmt-reservations/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix @@ -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 ]; }; }