Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchgit,
|
|
autoreconfHook,
|
|
libelf,
|
|
libiberty,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "prelink";
|
|
version = "20151030-unstable-2024-07-02";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.yoctoproject.org/prelink-cross";
|
|
branchName = "cross_prelink";
|
|
rev = "ff2561c02ade96c5d4d56ddd4e27ff064840a176";
|
|
sha256 = "sha256-wmX7ybrZDWEop9fiInZMvgK/fpEk3sq+Wu8DSWWIvQY=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
configurePlatforms = [
|
|
"build"
|
|
"host"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
stdenv.cc.libc
|
|
libelf
|
|
libiberty
|
|
];
|
|
|
|
# most tests fail
|
|
doCheck = false;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "ELF prelinking utility to speed up dynamic linking";
|
|
homepage = "https://wiki.yoctoproject.org/wiki/Cross-Prelink";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ artturin ];
|
|
};
|
|
}
|