nixpkgs/pkgs/development/python-modules/azure-cosmos/default.nix
2021-11-12 19:10:54 -08:00

31 lines
623 B
Nix

{ buildPythonPackage
, lib
, 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 ];
};
}