Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, flask 5, flask-silk 6, future 7}: 8 9buildPythonPackage rec { 10 pname = "Flask-AutoIndex"; 11 version = "0.6.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706"; 16 }; 17 18 propagatedBuildInputs = [ 19 flask 20 flask-silk 21 future 22 ]; 23 24 meta = with stdenv.lib; { 25 description = "The mod_autoindex for Flask"; 26 longDescription = '' 27 Flask-AutoIndex generates an index page for your Flask application automatically. 28 The result is just like mod_autoindex, but the look is more awesome! 29 ''; 30 license = licenses.bsd2; 31 maintainers = with maintainers; [ timokau ]; 32 homepage = https://pythonhosted.org/Flask-AutoIndex/; 33 }; 34}