From 33f9b4910fec8bb15e897503f7eb0cd68625f59a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Jan 2024 12:16:00 +0100 Subject: [PATCH] python311Packages.azure-mgmt-batch: 17.1.0 -> 17.2.0 Changelog: https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_17.2.0/sdk/batch/azure-mgmt-batch --- .../azure-mgmt-batch/default.nix | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-batch/default.nix b/pkgs/development/python-modules/azure-mgmt-batch/default.nix index 1d55b6c78530..189aa05c8056 100644 --- a/pkgs/development/python-modules/azure-mgmt-batch/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-batch/default.nix @@ -1,39 +1,46 @@ { lib -, buildPythonPackage -, fetchPypi -, msrest -, msrestazure , azure-common , azure-mgmt-core +, buildPythonPackage +, fetchPypi +, isodate , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "azure-mgmt-batch"; - version = "17.1.0"; - format = "setuptools"; + version = "17.2.0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - extension = "zip"; - hash = "sha256-OFv5IImNwtWAeGX75FAZ8QzfvvZRxtv6R0WoQlJduvs="; + hash = "sha256-ihXjijfW5OzilXPegIxaiSdsmfJSDqHzUrhqcEyJhY0="; }; - propagatedBuildInputs = [ - msrest - msrestazure - azure-common - azure-mgmt-core + nativeBuildInputs = [ + setuptools ]; - # Module has no tests + propagatedBuildInputs = [ + azure-common + azure-mgmt-core + isodate + ]; + + # Tests are only available in mono repo doCheck = false; + pythonImportsCheck = [ + "azure.mgmt.batch" + ]; + meta = with lib; { description = "This is the Microsoft Azure Batch Management Client Library"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch"; + changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; };