nixpkgs/pkgs/development/tools/misc/prelink/default.nix

23 lines
579 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libelf }:
2014-07-19 01:12:50 +01:00
2021-07-17 18:56:23 +01:00
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "prelink";
2021-07-17 18:56:23 +01:00
version = "20130503";
2014-07-19 01:12:50 +01:00
buildInputs = [
libelf stdenv.cc.libc (lib.getOutput "static" stdenv.cc.libc)
];
2014-07-19 01:12:50 +01:00
src = fetchurl {
url = "https://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
2014-07-19 01:12:50 +01:00
sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
};
meta = {
homepage = "https://people.redhat.com/jakub/prelink/";
2014-07-19 01:12:50 +01:00
license = "GPL";
description = "ELF prelinking utility to speed up dynamic linking";
platforms = lib.platforms.linux;
2014-07-19 01:12:50 +01:00
};
}