2014-07-19 01:12:50 +01:00
|
|
|
{ stdenv, fetchurl, libelf }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "20130503";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "prelink-${version}";
|
|
|
|
|
2016-08-25 09:44:20 +01:00
|
|
|
buildInputs = [
|
|
|
|
libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc)
|
|
|
|
];
|
2014-07-19 01:12:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
|
2014-07-19 01:12:50 +01:00
|
|
|
sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://people.redhat.com/jakub/prelink/;
|
|
|
|
license = "GPL";
|
|
|
|
description = "ELF prelinking utility to speed up dynamic linking";
|
2017-09-13 12:48:10 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-07-19 01:12:50 +01:00
|
|
|
};
|
|
|
|
}
|