c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
53 lines
1.9 KiB
Nix
53 lines
1.9 KiB
Nix
{stdenv, fetchurl, ghostscript}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lout-3.40";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"ftp://ftp.cs.usyd.edu.au/jeff/lout/${name}.tar.gz"
|
|
"mirror://savannah/lout/${name}.tar.gz" # new!
|
|
"mirror://sourceforge/lout/${name}.tar.gz" # to be phased out
|
|
# XXX: We could add the CTAN mirrors
|
|
# (see http://www.ctan.org/tex-archive/support/lout/).
|
|
];
|
|
sha256 = "1gb8vb1wl7ikn269dd1c7ihqhkyrwk19jwx5kd0rdvbk6g7g25ix";
|
|
};
|
|
|
|
buildInputs = [ ghostscript ];
|
|
builder = ./builder.sh;
|
|
|
|
meta = {
|
|
description = "Document layout system similar in style to LaTeX";
|
|
|
|
longDescription = ''
|
|
The Lout document formatting system is now reads a high-level
|
|
description of a document similar in style to LaTeX and produces
|
|
a PostScript or plain text output file.
|
|
|
|
Lout offers an unprecedented range of advanced features,
|
|
including optimal paragraph and page breaking, automatic
|
|
hyphenation, PostScript EPS file inclusion and generation,
|
|
equation formatting, tables, diagrams, rotation and scaling,
|
|
sorted indexes, bibliographic databases, running headers and
|
|
odd-even pages, automatic cross referencing, multilingual
|
|
documents including hyphenation (most European languages are
|
|
supported), formatting of computer programs, and much more, all
|
|
ready to use. Furthermore, Lout is easily extended with
|
|
definitions which are very much easier to write than troff of
|
|
TeX macros because Lout is a high-level, purely functional
|
|
language, the outcome of an eight-year research project that
|
|
went back to the beginning.
|
|
'';
|
|
|
|
# Author's page: http://www.cs.usyd.edu.au/~jeff/
|
|
# Wiki: http://lout.wiki.sourceforge.net/
|
|
homepage = http://savannah.nongnu.org/projects/lout/;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
};
|
|
}
|