python3Packages.azure-mgmt-batchai: migrate to pyproject (#528226)

This commit is contained in:
Fabian Affolter
2026-06-05 08:33:18 +00:00
committed by GitHub
@@ -5,20 +5,25 @@
azure-common,
azure-mgmt-core,
isodate,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-batchai";
version = "7.0.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit version;
inherit (finalAttrs) version;
pname = "azure_mgmt_batchai";
hash = "sha256-XfAE/QyST8ZVlJR6nP9Pdgh97hfIhFM6G7sLINsn06M=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
isodate
azure-common
azure-mgmt-core
@@ -32,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "This is the Microsoft Azure Batch AI Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-batchai_${version}/sdk/batchai/azure-mgmt-batchai/CHANGELOG.md";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-batchai_${finalAttrs.version}/sdk/batchai/azure-mgmt-batchai/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})