Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 787 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 = "5.0.3"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "01741df673abb518d5cf9f00223a227f5d0ab9e0a6b19e444ceb38d497019f31"; 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}