19 buildPythonPackage rec {
20 pname = "staticjinja";
24 disabled = pythonOlder "3.6";
27 src = fetchFromGitHub {
28 owner = "staticjinja";
31 hash = "sha256-LfJTQhZtnTOm39EWF1m2MP5rxz/5reE0G1Uk9L7yx0w=";
38 propagatedBuildInputs = [
52 # The tests need to find and call the installed staticjinja executable
54 export PATH="$PATH:$out/bin";
58 version = testers.testVersion { package = staticjinja; };
59 minimal-template = callPackage ./test-minimal-template {};
63 description = "A library and cli tool that makes it easy to build static sites using Jinja2";
64 homepage = "https://staticjinja.readthedocs.io/en/latest/";
65 license = licenses.mit;
66 maintainers = with maintainers; [ fgaz ];