mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
25 lines
602 B
Nix
25 lines
602 B
Nix
{ stdenv, fetchurl, libelf }:
|
|
|
|
let
|
|
version = "20130503";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "prelink-${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 = http://people.redhat.com/jakub/prelink/;
|
|
license = "GPL";
|
|
description = "ELF prelinking utility to speed up dynamic linking";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|