python3Packages.azure-storage-file: modernize

This commit is contained in:
Harinn
2026-06-04 22:28:41 +07:00
parent f901bbbf90
commit 7eaa7170e4

View File

@@ -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 ];
};
}
})