2020-04-24 23:36:52 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, buildPythonPackage
|
|
|
|
|
, botocore
|
|
|
|
|
, fetchPypi
|
|
|
|
|
, mock
|
|
|
|
|
, mypy
|
|
|
|
|
, python-dateutil
|
|
|
|
|
, pytest
|
|
|
|
|
, requests
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pynamodb";
|
2022-01-07 04:07:37 +00:00
|
|
|
|
version = "5.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2022-01-07 04:07:37 +00:00
|
|
|
|
sha256 = "6c9bec5946949d07c76230187cdb9126e8247c94499bbc8e79ded11d17060a60";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-dateutil botocore ];
|
|
|
|
|
checkInputs = [ requests mock pytest mypy ];
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
description = "A Pythonic interface for Amazon’s DynamoDB that supports Python 2 and 3.";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
DynamoDB is a great NoSQL service provided by Amazon, but the API is
|
|
|
|
|
verbose. PynamoDB presents you with a simple, elegant API.
|
|
|
|
|
'';
|
|
|
|
|
homepage = "http://jlafon.io/pynamodb.html";
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
}
|