2021-01-23 04:26:19 -08:00
|
|
|
{ lib, stdenv, fetchurl, libelf }:
|
2014-07-18 17:12:50 -07:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "20130503";
|
|
|
|
in
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "prelink";
|
|
|
|
inherit version;
|
2014-07-18 17:12:50 -07:00
|
|
|
|
2016-08-25 01:44:20 -07:00
|
|
|
buildInputs = [
|
2021-01-23 04:26:19 -08:00
|
|
|
libelf stdenv.cc.libc (lib.getOutput "static" stdenv.cc.libc)
|
2016-08-25 01:44:20 -07:00
|
|
|
];
|
2014-07-18 17:12:50 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 11:43:35 -07:00
|
|
|
url = "https://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
|
2014-07-18 17:12:50 -07:00
|
|
|
sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://people.redhat.com/jakub/prelink/";
|
2014-07-18 17:12:50 -07:00
|
|
|
license = "GPL";
|
|
|
|
description = "ELF prelinking utility to speed up dynamic linking";
|
2021-01-23 04:26:19 -08:00
|
|
|
platforms = lib.platforms.linux;
|
2014-07-18 17:12:50 -07:00
|
|
|
};
|
|
|
|
}
|