You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
774 B
33 lines
774 B
{ lib
|
|
, buildPythonPackage
|
|
, botocore
|
|
, fetchPypi
|
|
, mock
|
|
, mypy
|
|
, python-dateutil
|
|
, pytest
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynamodb";
|
|
version = "5.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-x6nFV7UjZLwJJX7dADeO68dSWLvaoP4FD8ziNWFJ+Qo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|
|
|