Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }: 2 3buildPythonPackage rec { 4 pname = "Flask-Assets"; 5 version = "0.12"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0"; 10 }; 11 12 patchPhase = '' 13 substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path=' 14 ''; 15 16 propagatedBuildInputs = [ flask webassets flask_script nose ]; 17 18 meta = with lib; { 19 homepage = https://github.com/miracle2k/flask-assets; 20 description = "Asset management for Flask, to compress and merge CSS and Javascript files"; 21 license = licenses.bsd2; 22 maintainers = with maintainers; [ abbradar ]; 23 }; 24}