Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrestazure
5, azure-common
6, azure-mgmt-core
7, azure-mgmt-nspkg
8}:
9
10buildPythonPackage rec {
11 pname = "azure-mgmt-consumption";
12 version = "8.0.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 extension = "zip";
17 sha256 = "b4cc167648634f864394066d5621afc137c1be795ee76f7539125f9538a2bf37";
18 };
19
20 propagatedBuildInputs = [
21 msrestazure
22 azure-common
23 azure-mgmt-core
24 azure-mgmt-nspkg
25 ];
26
27 pythonNamespaces = [ "azure.mgmt" ];
28
29 # has no tests
30 doCheck = false;
31
32 meta = with lib; {
33 description = "This is the Microsoft Azure Consumption Management Client Library";
34 homepage = "https://github.com/Azure/azure-sdk-for-python";
35 license = licenses.mit;
36 maintainers = with maintainers; [ maxwilson ];
37 };
38}