1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 msrestazure,
7 azure-common,
8 azure-mgmt-core,
9 azure-mgmt-nspkg,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-consumption";
14 version = "10.0.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 extension = "zip";
20 hash = "sha256-BqCGQ2wXN/d6uGiU1R9Zc7bg+l7fVlWOTCllieurkTA=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 msrestazure
27 azure-common
28 azure-mgmt-core
29 azure-mgmt-nspkg
30 ];
31
32 preBuild = ''
33 rm -f azure_bdist_wheel.py
34 '';
35
36 pythonNamespaces = [ "azure.mgmt" ];
37
38 # has no tests
39 doCheck = false;
40
41 meta = with lib; {
42 description = "This is the Microsoft Azure Consumption Management Client Library";
43 homepage = "https://github.com/Azure/azure-sdk-for-python";
44 license = licenses.mit;
45 maintainers = with maintainers; [ maxwilson ];
46 };
47}