2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "2.3.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pydocumentdb";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1e6f072ae516fc061c9442f8ca470463b53dc626f0f6a86ff3a803293f4b50dd";
|
|
|
|
};
|
|
|
|
|
|
|
|
# https://github.com/Azure/azure-cosmos-python/issues/183
|
|
|
|
preBuild = ''
|
|
|
|
touch changelog.md
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six requests ];
|
|
|
|
|
|
|
|
# requires an active Azure Cosmos service
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Azure Cosmos DB API";
|
|
|
|
homepage = "https://github.com/Azure/azure-cosmos-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|