2021-03-25 11:25:40 +00:00
|
|
|
{lib, stdenv, fetchurl, python3}:
|
2015-05-28 16:13:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-04-07 22:29:49 +00:00
|
|
|
name = "doclifter-2.19";
|
2015-05-28 16:13:47 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "http://www.catb.org/~esr/doclifter/doclifter-2.19.tar.gz";
|
2019-04-07 22:29:49 +00:00
|
|
|
sha256 = "1as6z7mdjrrkw2kism41q5ybvyzvwcmj9qzla2fz98v9f4jbj2s2";
|
2015-05-28 16:13:47 +00:00
|
|
|
};
|
2021-03-25 11:25:40 +00:00
|
|
|
buildInputs = [ python3 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2015-05-28 16:13:47 +00:00
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp manlifter $out/bin
|
|
|
|
cp manlifter.1 $out/share/man/man1
|
|
|
|
'';
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2015-05-28 16:13:47 +00:00
|
|
|
meta = {
|
|
|
|
description = "Lift documents in nroff markups to XML-DocBook";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.catb.org/esr/doclifter";
|
2015-05-28 16:13:47 +00:00
|
|
|
license = "BSD";
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2015-05-28 16:13:47 +00:00
|
|
|
};
|
|
|
|
}
|