nixpkgs-suyu/pkgs/development/tools/misc/doclifter/default.nix
Ryan Mulligan ec643103c5 doclifter: 2.15 -> 2.17
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/l2jl00f6gvvc17lsq27vvmw26md8nf4g-doclifter-2.17/bin/doclifter -V` and found version 2.17
- found 2.17 with grep in /nix/store/l2jl00f6gvvc17lsq27vvmw26md8nf4g-doclifter-2.17
- found 2.17 in filename of file in /nix/store/l2jl00f6gvvc17lsq27vvmw26md8nf4g-doclifter-2.17
2018-02-25 20:17:54 -08:00

26 lines
651 B
Nix

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