summary refs log tree commit diff
path: root/pkgs/development/tools/misc/prelink/default.nix
blob: 63fc7c8e64a5378c3a54c5cbbb1b1f3ad88f5262 (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
24
25
{ lib, stdenv, fetchurl, libelf }:

let
  version = "20130503";
in
stdenv.mkDerivation {
  pname = "prelink";
  inherit version;

  buildInputs = [
    libelf stdenv.cc.libc (lib.getOutput "static" stdenv.cc.libc)
  ];

  src = fetchurl {
    url = "https://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
    sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
  };

  meta = {
    homepage = "https://people.redhat.com/jakub/prelink/";
    license = "GPL";
    description = "ELF prelinking utility to speed up dynamic linking";
    platforms = lib.platforms.linux;
  };
}