2015-05-28 18:13:47 +02:00
|
|
|
{stdenv, fetchurl, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-02-26 05:17:54 +01:00
|
|
|
name = "doclifter-2.17";
|
2015-05-28 18:13:47 +02:00
|
|
|
src = fetchurl {
|
2018-02-26 05:17:54 +01:00
|
|
|
url = http://www.catb.org/~esr/doclifter/doclifter-2.17.tar.gz;
|
|
|
|
sha256 = "1m8yfjbl8wzcml9q4k7m1crwid0a14r07fqf33bmmgx1zpjk8kmv";
|
2015-05-28 18:13:47 +02:00
|
|
|
};
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp manlifter $out/bin
|
|
|
|
cp manlifter.1 $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lift documents in nroff markups to XML-DocBook";
|
|
|
|
homepage = http://www.catb.org/esr/doclifter;
|
|
|
|
license = "BSD";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-05-28 18:13:47 +02:00
|
|
|
};
|
|
|
|
}
|