Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 30 lines 649 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, docopt 5, easywatch 6, jinja2 7}: 8 9buildPythonPackage rec { 10 pname = "staticjinja"; 11 version = "0.3.5"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "fbd61cca1dad44b6891d1a1d72b11ae100e21b3909802e3ff1861ab55bf16603"; 16 }; 17 18 propagatedBuildInputs = [ jinja2 docopt easywatch ]; 19 20 # There are no tests on pypi 21 doCheck = false; 22 23 meta = with lib; { 24 description = "A library and cli tool that makes it easy to build static sites using Jinja2"; 25 homepage = https://staticjinja.readthedocs.io/en/latest/; 26 license = licenses.mit; 27 maintainers = with maintainers; [ fgaz ]; 28 }; 29} 30