{ lib , buildPythonPackage , fetchPypi , msrest , msrestazure , azure-common , azure-mgmt-core , azure-mgmt-nspkg , isPy3k }: buildPythonPackage rec { pname = "azure-mgmt-iotcentral"; version = "4.1.0"; src = fetchPypi { inherit pname version; extension = "zip"; sha256 = "e6d4810f454c0d63a5e816eaa7e54a073a3f70b2256162ff1c234cfe91783ae6"; }; propagatedBuildInputs = [ azure-common azure-mgmt-core msrest msrestazure ] ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ]; # has no tests doCheck = false; meta = with lib; { description = "This is the Microsoft Azure IoTCentral Management Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; }; }