Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 33 lines 775 B view raw
1{ lib 2, buildPythonPackage 3, botocore 4, fetchPypi 5, mock 6, mypy 7, python-dateutil 8, pytest 9, requests 10}: 11 12buildPythonPackage rec { 13 pname = "pynamodb"; 14 version = "4.0.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "196pab5whswy3bgi2s842asjhyka2f9mw98m84bvqjmfw0m7x4y0"; 19 }; 20 21 propagatedBuildInputs = [ python-dateutil botocore ]; 22 checkInputs = [ requests mock pytest mypy ]; 23 24 meta = with lib; { 25 description = "A Pythonic interface for Amazons DynamoDB that supports Python 2 and 3."; 26 longDescription = '' 27 DynamoDB is a great NoSQL service provided by Amazon, but the API is 28 verbose. PynamoDB presents you with a simple, elegant API. 29 ''; 30 homepage = "http://jlafon.io/pynamodb.html"; 31 license = licenses.mit; 32 }; 33}