forked from mirrors/nixpkgs
3a873fb301
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/doclifter/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/qzimyzp6c58i4jmqkmijzicyxzbn3j0x-doclifter-2.18/bin/manlifter had a zero exit code or showed the expected version - /nix/store/qzimyzp6c58i4jmqkmijzicyxzbn3j0x-doclifter-2.18/bin/doclifter passed the binary check. - 1 of 2 passed binary check by having a zero exit code. - 1 of 2 passed binary check by having the new version present in output. - found 2.18 with grep in /nix/store/qzimyzp6c58i4jmqkmijzicyxzbn3j0x-doclifter-2.18 - directory tree listing: https://gist.github.com/5f26018de7c8c2bbf86953b19997143a - du listing: https://gist.github.com/b556716e68094c4f1457bbbbe6467d55
27 lines
651 B
Nix
27 lines
651 B
Nix
{stdenv, fetchurl, python}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "doclifter-2.18";
|
|
src = fetchurl {
|
|
url = http://www.catb.org/~esr/doclifter/doclifter-2.18.tar.gz;
|
|
sha256 = "0g39lbml7dclm2nb20j4ffzhq28226qiwxq1w37p7mpqijm7x3hw";
|
|
};
|
|
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;
|
|
};
|
|
}
|