depot/third_party/nixpkgs/pkgs/development/tools/misc/doclifter/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
659 B
Nix

{stdenv, fetchurl, python}:
stdenv.mkDerivation {
name = "doclifter-2.19";
src = fetchurl {
url = "http://www.catb.org/~esr/doclifter/doclifter-2.19.tar.gz";
sha256 = "1as6z7mdjrrkw2kism41q5ybvyzvwcmj9qzla2fz98v9f4jbj2s2";
};
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";
platforms = stdenv.lib.platforms.unix;
};
}