diff --git a/pkgs/development/python-modules/azure-storage-file/default.nix b/pkgs/development/python-modules/azure-storage-file/default.nix index e2238d24d2c9..440ba22c21ae 100644 --- a/pkgs/development/python-modules/azure-storage-file/default.nix +++ b/pkgs/development/python-modules/azure-storage-file/default.nix @@ -9,14 +9,16 @@ futures ? null, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "azure-storage-file"; version = "2.1.0"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; - sha256 = "3559b9c7ab13450c66ea833eb82c28233bee24f1bd8ca19aa7d27f8c23d5bc53"; + inherit (finalAttrs) pname version; + hash = "sha256-NVm5x6sTRQxm6oM+uCwoIzvuJPG9jKGap9J/jCPVvFM="; }; build-system = [ setuptools ]; @@ -30,10 +32,12 @@ buildPythonPackage rec { # has no tests doCheck = false; + pythonImportsCheck = [ "azure.storage.file" ]; + meta = { description = "Client library for Microsoft Azure Storage services containing the file service APIs"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cmcdragonkai ]; }; -} +})