python312Packages.azure-mgmt-billing: 6.0.0 -> 7.0.0 (#341342)

This commit is contained in:
Fabian Affolter
2024-10-12 17:05:31 +02:00
committed by GitHub
2 changed files with 32 additions and 20 deletions
@@ -119,6 +119,17 @@ let
overrideAzureMgmtPackage super.azure-mgmt-batchai "7.0.0b1" "zip"
"sha256-mT6vvjWbq0RWQidugR229E8JeVEiobPD3XA/nDM3I6Y=";
azure-mgmt-billing =
(overrideAzureMgmtPackage super.azure-mgmt-billing "6.0.0" "zip"
"sha256-1PXFpBiKRW/h6zK2xF9VyiBpx0vkHrdpIYQLOfL1wH8="
).overridePythonAttrs
(attrs: {
propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [
self.msrest
self.msrestazure
];
});
# AttributeError: type object 'CustomDomainsOperations' has no attribute 'disable_custom_https'
azure-mgmt-cdn =
overrideAzureMgmtPackage super.azure-mgmt-cdn "12.0.0" "zip"
@@ -1,45 +1,46 @@
{
lib,
buildPythonPackage,
fetchPypi,
msrestazure,
azure-common,
azure-mgmt-core,
azure-mgmt-nspkg,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-mgmt-billing";
version = "6.0.0"; # pypi's 0.2.0 doesn't build ootb
format = "setuptools";
version = "7.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "d4f5c5a4188a456fe1eb32b6c45f55ca2069c74be41eb76921840b39f2f5c07f";
extension = "zip";
pname = "azure_mgmt_billing";
inherit version;
hash = "sha256-jgplxlEQtTpCk35b7WrgDvydYgaXLZa/1KdOgMhcLXs=";
};
propagatedBuildInputs = [
msrestazure
build-system = [ setuptools ];
dependencies = [
azure-common
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" ];
# has no tests
# Module has no tests
doCheck = false;
meta = with lib; {
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;
maintainers = with maintainers; [ maxwilson ];
};