Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, msrest 5, msrestazure 6, azure-common 7, azure-mgmt-core 8, azure-mgmt-nspkg 9, isPy3k 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-iotcentral"; 14 version = "9.0.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 sha256 = "64df73df449a6f3717f3d0963e5869224ed3e6216c79de571493bea7c1b52cb6"; 20 }; 21 22 propagatedBuildInputs = [ 23 azure-common 24 azure-mgmt-core 25 msrest 26 msrestazure 27 ] ++ lib.optionals (!isPy3k) [ 28 azure-mgmt-nspkg 29 ]; 30 31 # has no tests 32 doCheck = false; 33 34 meta = with lib; { 35 description = "This is the Microsoft Azure IoTCentral Management Client Library"; 36 homepage = "https://github.com/Azure/azure-sdk-for-python"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ maxwilson ]; 39 }; 40}