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
69 lines
1.1 KiB
Nix
69 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
elfutils,
|
|
libxml2,
|
|
pkg-config,
|
|
strace,
|
|
python3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libabigail";
|
|
version = "2.5";
|
|
|
|
outputs = [
|
|
"bin"
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
src = fetchurl {
|
|
url = "https://mirrors.kernel.org/sourceware/${pname}/${pname}-${version}.tar.xz";
|
|
hash = "sha256-fPxOmwCuONh/sMY76rsyucv5zkEOUs7rWtWzxb6xEfM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
strace
|
|
];
|
|
|
|
buildInputs = [
|
|
elfutils
|
|
libxml2
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
python3
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-bash-completion=yes"
|
|
"--enable-cxx11=yes"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
preCheck = ''
|
|
# runtestdiffpkg needs cache directory
|
|
export XDG_CACHE_HOME="$TEMPDIR"
|
|
patchShebangs tests/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "ABI Generic Analysis and Instrumentation Library";
|
|
homepage = "https://sourceware.org/libabigail/";
|
|
license = with licenses; [
|
|
asl20
|
|
llvm-exception
|
|
];
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|