nixpkgs/pkgs/development/python-modules/azure-cosmos/default.nix

32 lines
632 B
Nix
Raw Normal View History

{ buildPythonPackage
, lib
, python
, fetchPypi
, six
, requests
}:
buildPythonPackage rec {
version = "3.2.0";
pname = "azure-cosmos";
src = fetchPypi {
inherit pname version;
sha256 = "4f77cc558fecffac04377ba758ac4e23f076dc1c54e2cf2515f85bc15cbde5c6";
};
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 ];
};
}