tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
multimarkdown: init at 4.7.1
Andreas Wagner
10 years ago
bea3ba66
ea7b5bb8
+54
2 changed files
expand all
collapse all
unified
split
pkgs
tools
typesetting
multimarkdown
default.nix
top-level
all-packages.nix
+52
pkgs/tools/typesetting/multimarkdown/default.nix
···
1
1
+
{ stdenv, fetchgit, perl }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "multimarkdown-${version}";
5
5
+
version = "4.7.1";
6
6
+
7
7
+
src = fetchgit {
8
8
+
url = "https://github.com/fletcher/MultiMarkdown-4.git";
9
9
+
fetchSubmodules = true;
10
10
+
rev = "dd060247518715ef2b52be22b8f49d0e6d2c3a8b";
11
11
+
sha256 = "0s7rcxgmv1almlic7bky426x52h7g1pjdhi3y8wf84fpx8c7b6g2";
12
12
+
};
13
13
+
14
14
+
preBuild = ''
15
15
+
substituteInPlace enumsToPerl.pl --replace "/usr/bin/perl" "${perl}/bin/perl"
16
16
+
'';
17
17
+
18
18
+
buildInputs = [ stdenv ];
19
19
+
checkPhase = "make test-all";
20
20
+
installPhase = "make pkg-install prefix='' DESTDIR=$out; make pkg-install-scripts prefix='' DESTDIR=$out";
21
21
+
22
22
+
meta = with stdenv.lib; {
23
23
+
description = "A derivative of Markdown that adds new syntax features";
24
24
+
longDescription = ''
25
25
+
MultiMarkdown is a lightweight markup language created by
26
26
+
Fletcher T. Penney and based on Markdown, which supports
27
27
+
more export-formats (html, latex, beamer, memoir, odf, opml,
28
28
+
lyx, mmd) and implements some added features currently not
29
29
+
available with plain Markdown syntax.
30
30
+
31
31
+
It adds the following features to Markdown:
32
32
+
33
33
+
footnotes
34
34
+
tables
35
35
+
citations and bibliography (works best in LaTeX using BibTeX)
36
36
+
math support
37
37
+
automatic cross-referencing ability
38
38
+
smart typography, with support for multiple languages
39
39
+
image attributes
40
40
+
table and image captions
41
41
+
definition lists
42
42
+
glossary entries (LaTeX only)
43
43
+
document metadata (e.g. title, author, date, etc.)
44
44
+
'';
45
45
+
homepage = "http://fletcherpenney.net/multimarkdown/";
46
46
+
# licensed under GPLv2+ or MIT:
47
47
+
# https://raw.githubusercontent.com/fletcher/MultiMarkdown-4/master/LICENSE
48
48
+
license = with stdenv.lib.licenses; [ gpl2Plus ];
49
49
+
hydraPlatforms = platforms.all;
50
50
+
maintainers = with stdenv.lib.maintainers; [ lowfatcomputing ];
51
51
+
};
52
52
+
}
+2
pkgs/top-level/all-packages.nix
···
12228
12228
inherit (lua51Packages) luafilesystem lrexlib luazip luasqlite3;
12229
12229
};
12230
12230
12231
12231
+
multimarkdown = callPackage ../tools/typesetting/multimarkdown { };
12232
12232
+
12231
12233
multimon-ng = callPackage ../applications/misc/multimon-ng { };
12232
12234
12233
12235
multisync = callPackage ../applications/misc/multisync {