nixpkgs/pkgs/development/tools/misc/rman/default.nix

34 lines
878 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
2015-05-22 03:04:44 -07:00
stdenv.mkDerivation {
name = "rman-3.2";
2016-08-03 13:19:41 -07:00
2015-05-22 03:04:44 -07:00
src = fetchurl {
url = "mirror://sourceforge/polyglotman/3.2/rman-3.2.tar.gz";
2015-05-22 03:04:44 -07:00
sha256 = "0prdld6nbkdlkcgc2r1zp13h2fh8r0mlwxx423dnc695ddlk18b8";
};
2016-08-03 13:19:41 -07:00
2018-08-08 14:13:36 -07:00
postPatch = ''
substituteInPlace Makefile \
2021-03-08 06:59:54 -08:00
--replace ginstall install \
--replace gcc '${stdenv.cc.targetPrefix}cc'
2018-08-08 14:13:36 -07:00
'';
makeFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ];
2016-08-03 13:19:41 -07:00
2015-05-22 03:04:44 -07:00
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/share/man
'';
2016-08-03 13:19:41 -07:00
hardeningDisable = [ "format" ];
2018-08-08 14:13:36 -07:00
doCheck = false; # "check" target is probably meant to do "installcheck" or something
2015-05-22 03:04:44 -07:00
meta = {
description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
license = "artistic";
2021-03-08 06:59:54 -08:00
platforms = lib.platforms.all;
2015-05-22 03:04:44 -07:00
};
}