2019-06-15 20:53:58 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-06-18 21:47:09 +00:00
|
|
|
version = "3.2.0";
|
2019-06-15 20:53:58 +00:00
|
|
|
pname = "azure-cosmos";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:09 +00:00
|
|
|
sha256 = "4f77cc558fecffac04377ba758ac4e23f076dc1c54e2cf2515f85bc15cbde5c6";
|
2019-06-15 20:53:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six requests ];
|
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
pythonNamespaces = [ "azure" ];
|
2019-10-23 10:00:47 +00:00
|
|
|
|
2019-06-15 20:53:58 +00:00
|
|
|
# requires an active Azure Cosmos service
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Azure Cosmos DB API";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-06-15 20:53:58 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|