python312Packages.azure-mgmt-billing: 6.0.0 -> 7.0.0

Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-billing_7.0.0/sdk/billing/azure-mgmt-billing/CHANGELOG.md
This commit is contained in:
Fabian Affolter 2024-09-12 10:42:48 +02:00
parent 4a95d695c2
commit ac8067158b

View File

@ -1,45 +1,46 @@
{ {
lib, lib,
buildPythonPackage,
fetchPypi,
msrestazure,
azure-common, azure-common,
azure-mgmt-core, azure-mgmt-core,
azure-mgmt-nspkg, buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-billing"; pname = "azure-mgmt-billing";
version = "6.0.0"; # pypi's 0.2.0 doesn't build ootb version = "7.0.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "azure_mgmt_billing";
sha256 = "d4f5c5a4188a456fe1eb32b6c45f55ca2069c74be41eb76921840b39f2f5c07f"; inherit version;
extension = "zip"; hash = "sha256-jgplxlEQtTpCk35b7WrgDvydYgaXLZa/1KdOgMhcLXs=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
msrestazure
dependencies = [
azure-common azure-common
azure-mgmt-core azure-mgmt-core
azure-mgmt-nspkg isodate
typing-extensions
]; ];
preBuild = ''
rm -rf azure_bdist_wheel.py
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
pythonNamespaces = [ "azure.mgmt" ]; pythonNamespaces = [ "azure.mgmt" ];
# has no tests # Module has no tests
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
description = "This is the Microsoft Azure Billing Client Library"; description = "This is the Microsoft Azure Billing Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/billing/azure-mgmt-billing";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-billing_${version}/sdk/billing/azure-mgmt-billing/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ maxwilson ]; maintainers = with maintainers; [ maxwilson ];
}; };