Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / azure-cosmos / default.nix
blobdf687eb52ac52f4302514a7c386df0d636fd4f74
2   lib,
3   azure-core,
4   buildPythonPackage,
5   fetchPypi,
6   pythonOlder,
7   setuptools,
8   typing-extensions,
9 }:
11 buildPythonPackage rec {
12   pname = "azure-cosmos";
13   version = "4.6.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-2uxqwgHGRzsJK2Ku5x44G+62w6jcNhJJgytwSMTwYeI=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     azure-core
27     typing-extensions
28   ];
30   pythonNamespaces = [ "azure" ];
32   # Requires an active Azure Cosmos service
33   doCheck = false;
35   pythonImportsCheck = [ "azure.cosmos" ];
37   meta = with lib; {
38     description = "Azure Cosmos DB API";
39     homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cosmos/azure-cosmos";
40     changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-cosmos_${version}/sdk/cosmos/azure-cosmos/CHANGELOG.md";
41     license = licenses.mit;
42     maintainers = with maintainers; [ jonringer ];
43   };