Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 851 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, azure-common 5, azure-mgmt-common 6, azure-mgmt-core 7, msrest 8, msrestazure 9, isPy3k 10}: 11 12buildPythonPackage rec { 13 version = "19.0.0"; 14 pname = "azure-mgmt-network"; 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 sha256 = "5e39a26ae81fa58c13c02029700f8c7b22c3fd832a294c543e3156a91b9459e8"; 21 }; 22 23 propagatedBuildInputs = [ 24 azure-common 25 azure-mgmt-core 26 msrest 27 msrestazure 28 ]; 29 30 # has no tests 31 doCheck = false; 32 33 pythonNamespaces = [ "azure.mgmt" ]; 34 35 pythonImportsCheck = [ "azure.mgmt.network" ]; 36 37 meta = with lib; { 38 description = "Microsoft Azure SDK for Python"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ olcai maxwilson jonringer ]; 42 }; 43}