11 stdenv.mkDerivation rec {
16 url = "https://files.dthompson.us/${pname}/${pname}-${version}.tar.gz";
17 hash = "sha256-zOkICg7KmJJhPWPtJRT3C9sYB1Oig1xLtgPNGe0n3xQ=";
34 guileVersion = lib.versions.majorMinor guile.version;
37 wrapProgram $out/bin/haunt \
38 --prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \
39 --prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$GUILE_LOAD_COMPILED_PATH"
42 doInstallCheck = true;
43 installCheckPhase = ''
44 runHook preInstallCheck
45 $out/bin/haunt --version
46 runHook postInstallCheck
50 homepage = "https://dthompson.us/projects/haunt.html";
51 description = "Guile-based static site generator";
53 Haunt is a simple, functional, hackable static site generator that gives
54 authors the ability to treat websites as Scheme programs.
56 By giving authors the full expressive power of Scheme, they are able to
57 control every aspect of the site generation process. Haunt provides a
58 simple, functional build system that can be easily extended for this
61 Haunt has no opinion about what markup language authors should use to
62 write posts, though it comes with support for the popular Markdown
63 format. Likewise, Haunt has no opinion about how authors structure their
64 sites. Though it comes with support for building simple blogs or Atom
65 feeds, authors should feel empowered to tweak, replace, or create builders
66 to do things that aren't provided out-of-the-box.
68 license = licenses.gpl3Plus;
69 maintainers = with maintainers; [ AndersonTorres AluisioASG ];
70 platforms = guile.meta.platforms;