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