nixpkgs/pkgs/development/python-modules/pynamodb/default.nix
2020-06-11 10:00:19 +02:00

33 lines
787 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib
, buildPythonPackage
, botocore
, fetchPypi
, mock
, mypy
, python-dateutil
, pytest
, requests
}:
buildPythonPackage rec {
pname = "pynamodb";
version = "4.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "58bd62089741ef689f845d6ca826ab50e39b9a0a8ae3bd7a84dc167c1a4ec8fa";
};
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;
};
}