2015-05-28 16:13:47 +00:00
|
|
|
{stdenv, fetchurl, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-04-07 22:29:49 +00:00
|
|
|
name = "doclifter-2.19";
|
2015-05-28 16:13:47 +00:00
|
|
|
src = fetchurl {
|
2019-04-07 22:29:49 +00:00
|
|
|
url = http://www.catb.org/~esr/doclifter/doclifter-2.19.tar.gz;
|
|
|
|
sha256 = "1as6z7mdjrrkw2kism41q5ybvyzvwcmj9qzla2fz98v9f4jbj2s2";
|
2015-05-28 16:13:47 +00: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 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-05-28 16:13:47 +00:00
|
|
|
};
|
|
|
|
}
|