nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 34 lines 916 B view raw
1{lib, stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 pname = "rman"; 5 version = "3.2"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/polyglotman/${version}/${pname}-${version}.tar.gz"; 9 sha256 = "0prdld6nbkdlkcgc2r1zp13h2fh8r0mlwxx423dnc695ddlk18b8"; 10 }; 11 12 postPatch = '' 13 substituteInPlace Makefile \ 14 --replace ginstall install \ 15 --replace gcc '${stdenv.cc.targetPrefix}cc' 16 ''; 17 18 makeFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ]; 19 20 preInstall = '' 21 mkdir -p $out/bin 22 mkdir -p $out/share/man 23 ''; 24 25 hardeningDisable = [ "format" ]; 26 27 doCheck = false; # "check" target is probably meant to do "installcheck" or something 28 29 meta = { 30 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"; 31 license = "artistic"; 32 platforms = lib.platforms.all; 33 }; 34}