python3Packages.azure-mgmt-signalr: migrate to pyproject (#528394)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-10 23:12:03 +00:00
committed by GitHub
@@ -2,24 +2,29 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
msrestazure,
azure-common,
azure-mgmt-core,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-signalr";
version = "1.2.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
extension = "zip";
hash = "sha256-jbFhVoJbObpvcVJr2VoUzY5CmSblJ6OK7Q3l17SARfg=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
msrest
msrestazure
azure-common
@@ -29,10 +34,12 @@ buildPythonPackage rec {
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.signalr" ];
meta = {
description = "This is the Microsoft Azure SignalR Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})