Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 41 lines 881 B view raw
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-billing"; 13 version = "0.2.0"; #pypi's 0.2.0 doesn't build ootb 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-billing 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 Billing Client Library"; 37 homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-billing; 38 license = licenses.mit; 39 maintainers = with maintainers; [ mwilsoninsight ]; 40 }; 41}