2019-08-02 01:55:34 +01:00
|
|
|
|
{ lib
|
|
|
|
|
, buildPythonPackage
|
|
|
|
|
, botocore
|
|
|
|
|
, fetchPypi
|
|
|
|
|
, mock
|
|
|
|
|
, mypy
|
|
|
|
|
, python-dateutil
|
|
|
|
|
, pytest
|
|
|
|
|
, requests
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pynamodb";
|
2020-08-16 18:31:12 +01:00
|
|
|
|
version = "4.3.3";
|
2019-08-02 01:55:34 +01:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:12 +01:00
|
|
|
|
sha256 = "ced47c200073dbbfafb10b26931b9c9bf3c6b898f41dffa3676f5c2e2eddc2f0";
|
2019-08-02 01:55:34 +01: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;
|
|
|
|
|
};
|
|
|
|
|
}
|