From 6370e0f9a45b8b32ef51713ea8f71d2710c95614 Mon Sep 17 00:00:00 2001 From: dish Date: Thu, 5 Dec 2024 12:41:08 -0500 Subject: [PATCH 1/2] python312Packages.azure-multiapi-storage: fix build Removes the unused msrestazure dependency and adds the missing python-dateutil dependency --- .../python-modules/azure-multiapi-storage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-multiapi-storage/default.nix b/pkgs/development/python-modules/azure-multiapi-storage/default.nix index 1a8a6b49031b..e5e2ee63770e 100644 --- a/pkgs/development/python-modules/azure-multiapi-storage/default.nix +++ b/pkgs/development/python-modules/azure-multiapi-storage/default.nix @@ -6,10 +6,10 @@ cryptography, fetchPypi, msrest, - msrestazure, pythonOlder, requests, setuptools, + python-dateutil, }: buildPythonPackage rec { @@ -31,8 +31,8 @@ buildPythonPackage rec { azure-core cryptography msrest - msrestazure requests + python-dateutil ]; # fix namespace From 62fb70556cc6dcec730a78d2fecb6a93edc51755 Mon Sep 17 00:00:00 2001 From: dish Date: Thu, 5 Dec 2024 12:42:32 -0500 Subject: [PATCH 2/2] python312Packages.azure-multiapi-storage: modernize and fix metadata --- .../python-modules/azure-multiapi-storage/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/azure-multiapi-storage/default.nix b/pkgs/development/python-modules/azure-multiapi-storage/default.nix index e5e2ee63770e..600b5e515259 100644 --- a/pkgs/development/python-modules/azure-multiapi-storage/default.nix +++ b/pkgs/development/python-modules/azure-multiapi-storage/default.nix @@ -42,14 +42,13 @@ buildPythonPackage rec { doCheck = false; pythonImportsCheck = [ - "azure.common" "azure.multiapi.storage" ]; - meta = with lib; { + meta = { description = "Microsoft Azure Storage Client Library for Python with multi API version support"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; - license = licenses.mit; + homepage = "https://github.com/Azure/azure-multiapi-storage-python"; + license = lib.licenses.mit; maintainers = [ ]; }; }