2015-05-28 17:13:47 +01:00
|
|
|
{stdenv, fetchurl, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-06-19 22:26:52 +01:00
|
|
|
name = "doclifter-2.18";
|
2015-05-28 17:13:47 +01:00
|
|
|
src = fetchurl {
|
2018-06-19 22:26:52 +01:00
|
|
|
url = http://www.catb.org/~esr/doclifter/doclifter-2.18.tar.gz;
|
|
|
|
sha256 = "0g39lbml7dclm2nb20j4ffzhq28226qiwxq1w37p7mpqijm7x3hw";
|
2015-05-28 17:13:47 +01: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 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-05-28 17:13:47 +01:00
|
|
|
};
|
|
|
|
}
|