python3Packages.azure-servicefabric: migrate to pyproject (#528404)

This commit is contained in:
Sandro
2026-06-05 16:07:30 +00:00
committed by GitHub
@@ -4,20 +4,25 @@
fetchPypi,
azure-common,
msrest,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-servicefabric";
version = "8.2.0.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
extension = "zip";
sha256 = "f49c8759447970817b9b2d3d4b97439765dcf75ba01b6066ce96b605052fbb23";
hash = "sha256-9JyHWUR5cIF7my09S5dDl2Xc91ugG2Bmzpa2BQUvuyM=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
azure-common
msrest
];
@@ -25,10 +30,12 @@ buildPythonPackage rec {
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.servicefabric" ];
meta = {
description = "This project provides a client library in Python that makes it easy to consume Microsoft Azure Storage services";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})