haunt: init at 0.2.4
This commit is contained in:
parent
5e3b5d5b67
commit
e3733c89ed
59
pkgs/applications/misc/haunt/default.nix
Normal file
59
pkgs/applications/misc/haunt/default.nix
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, guile
|
||||||
|
, guile-commonmark
|
||||||
|
, guile-reader
|
||||||
|
, makeWrapper
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "haunt";
|
||||||
|
version = "0.2.4";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://files.dthompson.us/${pname}/${pname}-${version}.tar.gz";
|
||||||
|
hash = "sha256-zOkICg7KmJJhPWPtJRT3C9sYB1Oig1xLtgPNGe0n3xQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
guile
|
||||||
|
guile-commonmark
|
||||||
|
guile-reader
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/haunt \
|
||||||
|
--prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" \
|
||||||
|
--prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://dthompson.us/projects/haunt.html";
|
||||||
|
description = "Guile-based static site generator";
|
||||||
|
longDescription = ''
|
||||||
|
Haunt is a simple, functional, hackable static site generator that gives
|
||||||
|
authors the ability to treat websites as Scheme programs.
|
||||||
|
|
||||||
|
By giving authors the full expressive power of Scheme, they are able to
|
||||||
|
control every aspect of the site generation process. Haunt provides a
|
||||||
|
simple, functional build system that can be easily extended for this
|
||||||
|
purpose.
|
||||||
|
|
||||||
|
Haunt has no opinion about what markup language authors should use to
|
||||||
|
write posts, though it comes with support for the popular Markdown
|
||||||
|
format. Likewise, Haunt has no opinion about how authors structure their
|
||||||
|
sites. Though it comes with support for building simple blogs or Atom
|
||||||
|
feeds, authors should feel empowered to tweak, replace, or create builders
|
||||||
|
to do things that aren't provided out-of-the-box.
|
||||||
|
'';
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = guile.meta.platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -23506,6 +23506,8 @@ in
|
|||||||
wxGTK = wxGTK30;
|
wxGTK = wxGTK30;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
haunt = callPackage ../applications/misc/haunt { };
|
||||||
|
|
||||||
hugo = callPackage ../applications/misc/hugo { };
|
hugo = callPackage ../applications/misc/hugo { };
|
||||||
|
|
||||||
go-org = callPackage ../applications/misc/go-org { };
|
go-org = callPackage ../applications/misc/go-org { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user