2019-06-15 21:53:58 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-09-28 11:46:26 +01:00
|
|
|
version = "3.1.1";
|
2019-06-15 21:53:58 +01:00
|
|
|
pname = "azure-cosmos";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 11:46:26 +01:00
|
|
|
sha256 = "0q8pl8wnadxhyawcrfzrm2k85xd4mdmdk2xwdial55zmpa8ji4pk";
|
2019-06-15 21:53:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|