blob: e307ff98ab238f8bac39788aa1274720e14e67c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{ nixpkgs ? import <nixpkgs> {}, ... }:
with nixpkgs;
stdenv.mkDerivation {
name = "thesauron";
src = ./thesauron.md;
phases = [ "buildPhase" ];
buildPhase = ''
mkdir -p $out/share/man/man1
${pandoc}/bin/pandoc -s -t man $src -o $out/share/man/man1/thesauron.1
'';
}
|