From de2a4c4208aba36bc7212e1f0769702ddba578bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 27 Nov 2023 08:23:02 +0100 Subject: [PATCH] python311Packages.azure-mgmt-datafactory: 3.1.0 -> 4.0.0 Changelog: https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-datafactory_4.0.0/sdk/datafactory/azure-mgmt-datafactory --- .../azure-mgmt-datafactory/default.nix | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix b/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix index 735bcba46c37..3de8b1c16fab 100644 --- a/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix @@ -1,29 +1,26 @@ { lib -, buildPythonPackage -, fetchPypi -, msrest -, msrestazure , azure-common , azure-mgmt-core +, buildPythonPackage +, fetchPypi +, isodate , pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-datafactory"; - version = "3.1.0"; + version = "4.0.0"; format = "setuptools"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - extension = "zip"; - hash = "sha256-lsOUxDoXocf1fUIcY4q74/vd86LO7yumJg7rJ6i3zcg="; + hash = "sha256-XfTLbVdoPVLKgVlBDr59N0EKe+G9fAS+SjI9cWhhs4g="; }; propagatedBuildInputs = [ - msrest - msrestazure + isodate azure-common azure-mgmt-core ]; @@ -31,9 +28,14 @@ buildPythonPackage rec { # has no tests doCheck = false; + pythonImportsCheck = [ + "azure.mgmt.datafactory" + ]; + meta = with lib; { description = "This is the Microsoft Azure Data Factory Management Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python"; + changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-datafactory_${version}/sdk/datafactory/azure-mgmt-datafactory"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; };