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