lol
1{ stdenv, fetchurl, libelf }:
2
3let
4 version = "20130503";
5in
6stdenv.mkDerivation rec {
7 name = "prelink-${version}";
8
9 buildInputs = [
10 libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc)
11 ];
12
13 src = fetchurl {
14 url = "https://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
15 sha256 = "1w20f6ilqrz8ca51qhrn1n13h7q1r34k09g33d6l2vwvbrhcffb3";
16 };
17
18 meta = {
19 homepage = http://people.redhat.com/jakub/prelink/;
20 license = "GPL";
21 description = "ELF prelinking utility to speed up dynamic linking";
22 platforms = stdenv.lib.platforms.linux;
23 };
24}