1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

pythonPackages.pynamodb: init at 3.4.1 (#65759)

This commit is contained in:
Wael Nasreddine 2019-08-01 17:55:34 -07:00 committed by GitHub
parent 841e20e583
commit 7d16cd787d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, botocore
, fetchPypi
, mock
, mypy
, python-dateutil
, pytest
, requests
}:
buildPythonPackage rec {
pname = "pynamodb";
version = "3.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1cwgqvpqn59y3zq4wv35m1v4jrh3ih6zbyv30g5nxbw13vddxr92";
};
propagatedBuildInputs = [ python-dateutil botocore ];
checkInputs = [ requests mock pytest mypy ];
meta = with lib; {
description = "A Pythonic interface for Amazons 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;
};
}

View file

@ -129,6 +129,8 @@ in {
py3to2 = callPackage ../development/python-modules/3to2 { };
pynamodb = callPackage ../development/python-modules/pynamodb { };
absl-py = callPackage ../development/python-modules/absl-py { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };