9405df4a82
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
33 lines
787 B
Nix
33 lines
787 B
Nix
{ lib
|
||
, buildPythonPackage
|
||
, botocore
|
||
, fetchPypi
|
||
, mock
|
||
, mypy
|
||
, python-dateutil
|
||
, pytest
|
||
, requests
|
||
}:
|
||
|
||
buildPythonPackage rec {
|
||
pname = "pynamodb";
|
||
version = "5.0.3";
|
||
|
||
src = fetchPypi {
|
||
inherit pname version;
|
||
sha256 = "01741df673abb518d5cf9f00223a227f5d0ab9e0a6b19e444ceb38d497019f31";
|
||
};
|
||
|
||
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;
|
||
};
|
||
}
|