Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

multimarkdown: init at 4.7.1

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