2011-11-08 02:30:02 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2004-09-25 21:32:23 +02:00
|
|
|
|
2010-01-19 18:15:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-02-27 21:47:34 +01:00
|
|
|
name = "patchelf-0.9";
|
2011-11-08 02:30:02 +01:00
|
|
|
|
2004-09-25 21:32:23 +02:00
|
|
|
src = fetchurl {
|
2010-01-19 18:15:47 +01:00
|
|
|
url = "http://nixos.org/releases/patchelf/${name}/${name}.tar.bz2";
|
2016-02-29 11:35:59 +01:00
|
|
|
sha256 = "a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83";
|
2007-05-24 18:00:05 +02:00
|
|
|
};
|
|
|
|
|
2014-06-27 11:15:28 +02:00
|
|
|
setupHook = [ ./setup-hook.sh ];
|
|
|
|
|
2016-02-22 19:32:53 +01:00
|
|
|
# FIXME needs gcc 4.9 in bootstrap tools
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "stackprotector" ];
|
2016-02-22 19:32:53 +01:00
|
|
|
|
2014-08-25 15:30:46 +02:00
|
|
|
#doCheck = true; # problems when loading libc.so.6
|
2013-06-12 14:59:39 +02:00
|
|
|
|
2007-05-24 18:00:05 +02:00
|
|
|
meta = {
|
2008-06-03 16:29:14 +02:00
|
|
|
homepage = http://nixos.org/patchelf.html;
|
2007-05-24 18:00:05 +02:00
|
|
|
license = "GPL";
|
|
|
|
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
2014-01-14 14:20:47 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2004-09-25 21:32:23 +02:00
|
|
|
};
|
|
|
|
}
|