13 , enableEmacs ? false, emacs
14 , enableLout ? stdenv.hostPlatform.isLinux, lout
15 , enablePloticus ? stdenv.hostPlatform.isLinux, ploticus
16 , enableTex ? true, texliveSmall
20 inherit (lib) optional;
21 in stdenv.mkDerivation (finalAttrs: {
26 url = "http://download.savannah.nongnu.org/releases/skribilo/skribilo-${finalAttrs.version}.tar.gz";
27 hash = "sha256-jP9I7hds7f1QMmSaNJpGlSvqUOwGcg+CnBzMopIS9Q4=";
44 ++ optional enableEmacs emacs
45 ++ optional enableLout lout
46 ++ optional enablePloticus ploticus
47 ++ optional enableTex texliveSmall;
50 wrapProgram $out/bin/skribilo \
51 --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \
52 --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH"
56 homepage = "https://www.nongnu.org/skribilo/";
57 description = "Ultimate Document Programming Framework";
59 Skribilo is a free document production tool that takes a structured
60 document representation as its input and renders that document in a
61 variety of output formats: HTML and Info for on-line browsing, and Lout
62 and LaTeX for high-quality hard copies.
64 The input document can use Skribilo's markup language to provide
65 information about the document's structure, which is similar to HTML or
66 LaTeX and does not require expertise. Alternatively, it can use a simpler,
67 "markup-less" format that borrows from Emacs' outline mode and from other
68 conventions used in emails, Usenet and text.
70 license = lib.licenses.gpl3Plus;
71 maintainers = with lib.maintainers; [ AndersonTorres ];
72 platforms = lib.platforms.unix;