Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, isPy27 2, azure-common 3, azure-mgmt-core 4, msrest 5, msrestazure 6}: 7 8buildPythonPackage rec { 9 version = "2.0.0"; 10 pname = "azure-mgmt-botservice"; 11 disabled = isPy27; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-hsBNJ8UnwZ2WAKiCFfriulJNxnRFU4ew0OUXIrWm1ro="; 16 extension = "zip"; 17 }; 18 19 propagatedBuildInputs = [ 20 azure-common 21 azure-mgmt-core 22 msrest 23 msrestazure 24 ]; 25 26 # no tests included 27 doCheck = false; 28 29 pythonImportsCheck = [ "azure.common" "azure.mgmt.botservice" ]; 30 31 meta = with lib; { 32 description = "Microsoft Azure API Management Client Library for Python"; 33 homepage = "https://github.com/Azure/azure-sdk-for-python"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ jonringer ]; 36 }; 37}