2019-08-02 02:55:34 +02:00
|
|
|
|
{ lib
|
|
|
|
|
, buildPythonPackage
|
|
|
|
|
, botocore
|
|
|
|
|
, fetchPypi
|
|
|
|
|
, mock
|
|
|
|
|
, mypy
|
|
|
|
|
, python-dateutil
|
|
|
|
|
, pytest
|
|
|
|
|
, requests
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pynamodb";
|
2021-08-19 16:42:41 +02:00
|
|
|
|
version = "5.1.0";
|
2019-08-02 02:55:34 +02:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2021-08-19 16:42:41 +02:00
|
|
|
|
sha256 = "7f351d70b9f4da95ea2d7e50299640e4c46c83b7b24bea5daf110acd2e5aef2b";
|
2019-08-02 02:55:34 +02: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;
|
|
|
|
|
};
|
|
|
|
|
}
|