Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 43 lines 895 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, isPy3k 6, msrest 7, msrestazure 8, azure-common 9, azure-mgmt-nspkg 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-maps"; 14 version = "0.1.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 sha256 = "c120e210bb61768da29de24d28b82f8d42ae24e52396eb6569b499709e22f006"; 20 }; 21 22 propagatedBuildInputs = [ 23 msrest 24 msrestazure 25 azure-common 26 azure-mgmt-nspkg 27 ]; 28 29 postInstall = lib.optionalString isPy3k '' 30 rm $out/${python.sitePackages}/azure/__init__.py 31 rm $out/${python.sitePackages}/azure/mgmt/__init__.py 32 ''; 33 34 # has no tests 35 doCheck = false; 36 37 meta = with lib; { 38 description = "This is the Microsoft Azure Maps Client Library"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ mwilsoninsight ]; 42 }; 43}