3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/doclifter/default.nix

29 lines
675 B
Nix
Raw Normal View History

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