nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 buildPackages,
5 callPackage,
6 fetchurl,
7 perl,
8 libintl,
9 bashNonInteractive,
10 updateAutotoolsGnuConfigScriptsHook,
11 gawk,
12 freebsd,
13 libiconv,
14
15 # we are a dependency of gcc, this simplifies bootstrapping
16 interactive ? false,
17 ncurses,
18 procps,
19}:
20
21let
22 meta = {
23 description = "GNU documentation system";
24 homepage = "https://www.gnu.org/software/texinfo/";
25 changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";
26 license = lib.licenses.gpl3Plus;
27 platforms = lib.platforms.all;
28 maintainers = with lib.maintainers; [ oxij ];
29
30 longDescription = ''
31 Texinfo is the official documentation format of the GNU project.
32 It was invented by Richard Stallman and Bob Chassell many years
33 ago, loosely based on Brian Reid's Scribe and other formatting
34 languages of the time. It is used by many non-GNU projects as
35 well.
36
37 Texinfo uses a single source file to produce output in a number
38 of formats, both online and printed (dvi, html, info, pdf, xml,
39 etc.). This means that instead of writing different documents
40 for online information and another for a printed manual, you
41 need write only one document. And when the work is revised, you
42 need revise only that one document. The Texinfo system is
43 well-integrated with GNU Emacs.
44 '';
45 mainProgram = "texi2any";
46 };
47 buildTexinfo = callPackage ./common.nix {
48 inherit
49 lib
50 stdenv
51 buildPackages
52 updateAutotoolsGnuConfigScriptsHook
53 fetchurl
54 perl
55 libintl
56 libiconv
57 bashNonInteractive
58 gawk
59 freebsd
60 ncurses
61 procps
62 meta
63 interactive
64 ;
65 };
66in
67{
68 texinfo7 = buildTexinfo {
69 version = "7.2";
70 hash = "sha256-AynXeI++8RP6gsuAiJyhl6NEzg33ZG/gAJdMXXFDY6Y=";
71 };
72}