1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, msrestazure
5, azure-common
6, azure-mgmt-nspkg
7, python
8, isPy3k
9}:
10
11buildPythonPackage {
12 pname = "azure-mgmt-commerce";
13 version = "1.0.1";
14
15 src = fetchFromGitHub {
16 owner = "Azure";
17 repo = "azure-sdk-for-python";
18 rev = "ee5b47525d6c1eae3b1fd5f65b0421eab62a6e6f";
19 sha256 = "0xzdn7da5c3q5knh033vbsqk36vwbm75cx8vf10x0yj58krb4kn4";
20 };
21
22 preBuild = ''
23 cd ./azure-mgmt-commerce
24 '';
25
26 propagatedBuildInputs = [
27 msrestazure
28 azure-common
29 azure-mgmt-nspkg
30 ];
31
32 # has no tests
33 doCheck = false;
34
35 meta = with lib; {
36 description = "This is the Microsoft Azure Commerce Management Client Library";
37 homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-commerce;
38 license = licenses.mit;
39 maintainers = with maintainers; [ mwilsoninsight ];
40 };
41}