summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-cosmos/default.nix
blob: f41bc696d56f8fa63332c9334c417a781d2791fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ buildPythonPackage
, lib
, fetchPypi
, six
, requests
}:

buildPythonPackage rec {
  version = "4.5.1";
  pname = "azure-cosmos";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-xK2oOBMG7sQTwBvFCneOJk3D9Pr6nWlvnfhDYUjSrqg=";
  };

  propagatedBuildInputs = [ six requests ];

  pythonNamespaces = [ "azure" ];

  # requires an active Azure Cosmos service
  doCheck = false;

  meta = with lib; {
    description = "Azure Cosmos DB API";
    homepage = "https://github.com/Azure/azure-sdk-for-python";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };
}