Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 crayons, 6 flask, 7 flask-caching, 8 gunicorn, 9 maya, 10 meinheld, 11 whitenoise, 12}: 13 14buildPythonPackage rec { 15 pname = "flask-common"; 16 version = "0.3.0"; 17 18 src = fetchPypi { 19 pname = "Flask-Common"; 20 inherit version; 21 sha256 = "13d99f2dbc0a332b8bc4b2cc394d3e48f89672c266868e372cd9d7b433d921a9"; 22 }; 23 24 propagatedBuildInputs = [ 25 crayons 26 flask 27 flask-caching 28 gunicorn 29 maya 30 meinheld 31 whitenoise 32 ]; 33 34 meta = with lib; { 35 description = "Flask extension with lots of common time-savers"; 36 homepage = "https://github.com/kennethreitz/flask-common"; 37 license = licenses.asl20; # XXX: setup.py lists BSD but git repo has Apache 2.0 LICENSE 38 }; 39}