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