Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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-devtestlabs"; 14 version = "4.0.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 sha256 = "1397ksrd61jv7400mgn8sqngp6ahir55fyq9n5k69wk88169qm2r"; 20 }; 21 22 propagatedBuildInputs = [ 23 msrest 24 msrestazure 25 azure-common 26 ] ++ lib.optionals (!isPy3k) [ 27 azure-mgmt-nspkg 28 ]; 29 30 pythonNamespaces = [ "azure.mgmt" ]; 31 32 # has no tests 33 doCheck = false; 34 35 meta = with lib; { 36 description = "This is the Microsoft Azure DevTestLabs Management Client Library"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ jonringer mwilsoninsight ]; 40 }; 41}