mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
34 lines
787 B
Nix
34 lines
787 B
Nix
{ lib
|
||
, buildPythonPackage
|
||
, botocore
|
||
, fetchPypi
|
||
, mock
|
||
, mypy
|
||
, python-dateutil
|
||
, pytest
|
||
, requests
|
||
}:
|
||
|
||
buildPythonPackage rec {
|
||
pname = "pynamodb";
|
||
version = "4.1.0";
|
||
|
||
src = fetchPypi {
|
||
inherit pname version;
|
||
sha256 = "d05d5e2b0f663679ad11421c6fc2cf2f89a2a5843e6ebc372706bf5a78d93762";
|
||
};
|
||
|
||
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;
|
||
};
|
||
}
|