vifm: 0.13 -> 0.14 (#380559)
[NixPkgs.git] / pkgs / by-name / lo / lout / package.nix
blob9674f5e2df7a119b3f2df73791e5ab8934bd6965
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   ghostscript,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "lout";
10   version = "3.43";
12   src = fetchFromGitHub {
13     owner = "william8000";
14     repo = pname;
15     rev = version;
16     hash = "sha256-YUFrlM7BnDlG1rUV90yBvWG6lOKW5qKxs/xdq6I/kI0=";
17   };
19   buildInputs = [ ghostscript ];
21   makeFlags = [
22     "PREFIX=$(out)/"
23     "CC=${stdenv.cc.targetPrefix}cc"
24   ];
26   meta = {
27     description = "Document layout system similar in style to LaTeX";
29     longDescription = ''
30       The Lout document formatting system is now reads a high-level
31       description of a document similar in style to LaTeX and produces
32       a PostScript or plain text output file.
34       Lout offers an unprecedented range of advanced features,
35       including optimal paragraph and page breaking, automatic
36       hyphenation, PostScript EPS file inclusion and generation,
37       equation formatting, tables, diagrams, rotation and scaling,
38       sorted indexes, bibliographic databases, running headers and
39       odd-even pages, automatic cross referencing, multilingual
40       documents including hyphenation (most European languages are
41       supported), formatting of computer programs, and much more, all
42       ready to use.  Furthermore, Lout is easily extended with
43       definitions which are very much easier to write than troff of
44       TeX macros because Lout is a high-level, purely functional
45       language, the outcome of an eight-year research project that
46       went back to the beginning.
47     '';
49     homepage = "https://github.com/william8000/lout";
51     license = lib.licenses.gpl3Plus;
53     platforms = lib.platforms.all;
54     maintainers = [ ];
55   };