Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 46 lines 931 B view raw
1{ stdenv 2, lib 3, fetchgit 4, autoreconfHook 5, libelf 6, libiberty 7}: 8 9stdenv.mkDerivation rec { 10 pname = "prelink"; 11 version = "unstable-2019-06-24"; 12 13 src = fetchgit { 14 url = "https://git.yoctoproject.org/git/prelink-cross"; 15 branchName = "cross_prelink"; 16 rev = "f9975537dbfd9ade0fc813bd5cf5fcbe41753a37"; 17 sha256 = "sha256-O9/oZooLRyUBBZX3SFcB6LFMmi2vQqkUlqtZnrq5oZc="; 18 }; 19 20 strictDeps = true; 21 22 configurePlatforms = [ "build" "host" ]; 23 24 nativeBuildInputs = [ 25 autoreconfHook 26 ]; 27 28 buildInputs = [ 29 stdenv.cc.libc 30 libelf 31 libiberty 32 ]; 33 34 # most tests fail 35 doCheck = false; 36 37 enableParallelBuilding = true; 38 39 meta = with lib;{ 40 description = "ELF prelinking utility to speed up dynamic linking"; 41 homepage = "https://wiki.yoctoproject.org/wiki/Cross-Prelink"; 42 license = licenses.gpl2Plus; 43 platforms = platforms.linux; 44 maintainers = with maintainers; [ artturin ]; 45 }; 46}