summary refs log tree commit diff
path: root/pkgs/development/tools/misc/patchelf/default.nix
blob: 91658a5d4d9be88e883c7934f5371620f6bc87e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "patchelf-0.8";

  src = fetchurl {
    url = "http://nixos.org/releases/patchelf/${name}/${name}.tar.bz2";
    sha256 = "c99f84d124347340c36707089ec8f70530abd56e7827c54d506eb4cc097a17e7";
  };

  setupHook = [ ./setup-hook.sh ];

  # FIXME needs gcc 4.9 in bootstrap tools
  hardening_stackprotector = false;

  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;
  };
}