nixpkgs/pkgs/development/python-modules/pynamodb/default.nix

34 lines
775 B
Nix
Raw Normal View History

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