1{ 2 buildPythonPackage, 3 lib, 4 fetchPypi, 5 six, 6 requests, 7}: 8 9buildPythonPackage rec { 10 version = "2.3.5"; 11 format = "setuptools"; 12 pname = "pydocumentdb"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1e6f072ae516fc061c9442f8ca470463b53dc626f0f6a86ff3a803293f4b50dd"; 17 }; 18 19 # https://github.com/Azure/azure-cosmos-python/issues/183 20 preBuild = '' 21 touch changelog.md 22 ''; 23 24 propagatedBuildInputs = [ 25 six 26 requests 27 ]; 28 29 # requires an active Azure Cosmos service 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Azure Cosmos DB API"; 34 homepage = "https://github.com/Azure/azure-cosmos-python"; 35 license = licenses.mit; 36 maintainers = [ ]; 37 }; 38}