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

26 lines
705 B
Nix
Raw Normal View History

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