depot/third_party/nixpkgs/pkgs/development/python-modules/azure-cosmos/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
635 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, six
, requests
}:
buildPythonPackage rec {
version = "4.5.1";
format = "setuptools";
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 ];
};
}