nixpkgs/pkgs/development/tools/misc/prelink/default.nix
2021-07-18 00:19:24 +02:00

23 lines
579 B
Nix

{ lib, stdenv, fetchurl, libelf }:
stdenv.mkDerivation rec {
pname = "prelink";
version = "20130503";
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;
};
}