2011-01-13 10:03:16 +00:00
|
|
|
{ stdenv, fetchurl, groff }:
|
|
|
|
|
2004-08-03 16:41:08 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-01-15 01:21:09 +00:00
|
|
|
name = "mktemp-1.7";
|
2011-01-13 10:03:16 +00:00
|
|
|
|
|
|
|
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
|
|
|
NROFF = "${groff}/bin/nroff";
|
|
|
|
|
2018-01-15 01:25:25 +00:00
|
|
|
# Don't use "install -s"
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.in --replace " 0555 -s " " 0555 "
|
|
|
|
'';
|
|
|
|
|
2004-08-03 16:41:08 +01:00
|
|
|
src = fetchurl {
|
2018-01-15 01:21:09 +00:00
|
|
|
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.7.tar.gz;
|
|
|
|
sha256 = "0x969152znxxjbj7387xb38waslr4yv6bnj5jmhb4rpqxphvk54f";
|
2004-08-03 16:41:08 +01:00
|
|
|
};
|
2018-01-15 01:21:09 +00:00
|
|
|
|
2016-08-02 17:06:29 +01:00
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2004-08-03 16:41:08 +01:00
|
|
|
}
|