Merge pull request #34179 from dtzWill/update/mktemp

mktemp: 1.6 -> 1.7, fix for cross
This commit is contained in:
John Ericson 2018-01-22 18:55:04 -05:00 committed by GitHub
commit 7344773d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,21 @@
{ stdenv, fetchurl, groff }:
stdenv.mkDerivation {
name = "mktemp-1.6";
name = "mktemp-1.7";
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
NROFF = "${groff}/bin/nroff";
# Don't use "install -s"
postPatch = ''
substituteInPlace Makefile.in --replace " 0555 -s " " 0555 "
'';
src = fetchurl {
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.6.tar.gz;
sha256 = "1nfj89b0dv1c2fyqi1pg54fyzs3462cbp7jv7lskqsxvqy4mh9x1";
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.7.tar.gz;
sha256 = "0x969152znxxjbj7387xb38waslr4yv6bnj5jmhb4rpqxphvk54f";
};
meta = {
platforms = stdenv.lib.platforms.unix;
};