python3Packages.azure-storage-common: migrate to pyproject (#528405)

This commit is contained in:
Sandro
2026-06-05 16:07:39 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
azure-common,
cryptography,
python-dateutil,
@@ -10,17 +11,21 @@
azure-storage-nspkg,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-storage-common";
version = "2.1.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
sha256 = "ccedef5c67227bc4d6670ffd37cec18fb529a1b7c3a5e53e4096eb0cf23dc73f";
inherit (finalAttrs) pname version;
hash = "sha256-zO3vXGcie8TWZw/9N87Bj7UpobfDpeU+QJbrDPI9xz8=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
azure-common
cryptography
python-dateutil
@@ -31,10 +36,12 @@ buildPythonPackage rec {
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.storage.common" ];
meta = {
description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cmcdragonkai ];
};
}
})