mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
15 lines
428 B
Nix
15 lines
428 B
Nix
{ stdenv, pandoc, lib, fetchgit }:
|
|
stdenv.mkDerivation {
|
|
name = "pandoc-doc";
|
|
version = pandoc.version;
|
|
src = fetchgit {
|
|
url = "https://github.com/jgm/pandoc";
|
|
rev = pandoc.version;
|
|
sha256 = "0s4mczbql35wh6bhyi542yln24f530rlsw6akcv7lmp083rrlpy4";
|
|
};
|
|
buildPhase = ''
|
|
mkdir -p $out/man/man1
|
|
${pandoc}/bin/pandoc -V section=1 --standalone --write=man $src/MANUAL.txt -o $out/man/man1/pandoc.1
|
|
'';
|
|
}
|