python3Packages.azure-mgmt-trafficmanager: migrate to pyproject (#528397)

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

View File

@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
msrestazure,
azure-common,
@@ -10,18 +11,22 @@
isPy3k,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-trafficmanager";
version = "1.1.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
extension = "zip";
hash = "sha256-Nb8ZAr8VidYm41lx5aqgCeiECUZytHm3mM0buNTy/fk=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
msrest
msrestazure
azure-common
@@ -32,10 +37,12 @@ buildPythonPackage rec {
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.trafficmanager" ];
meta = {
description = "This is the Microsoft Azure Traffic Manager Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})