depot/third_party/nixpkgs/pkgs/development/tools/misc/prelink/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
610 B
Nix

{ stdenv, fetchurl, libelf }:
let
version = "20130503";
in
stdenv.mkDerivation {
pname = "prelink";
inherit version;
buildInputs = [
libelf stdenv.cc.libc (stdenv.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 = stdenv.lib.platforms.linux;
};
}