diff options
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pynamodb/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pynamodb/default.nix b/pkgs/development/python-modules/pynamodb/default.nix new file mode 100644 index 000000000000..e7cd0872c76a --- /dev/null +++ b/pkgs/development/python-modules/pynamodb/default.nix @@ -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 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; + }; +} |