9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{ stdenv
|
|
, fetchurl
|
|
, autoreconfHook
|
|
, elfutils
|
|
, libxml2
|
|
, pkg-config
|
|
, strace
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libabigail";
|
|
version = "1.8";
|
|
|
|
outputs = [ "bin" "out" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://mirrors.kernel.org/sourceware/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "0p363mkgypcklgf8iylxpbdnfgqc086a6fv7n9hzrjjci45jdgqw";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
strace
|
|
];
|
|
|
|
buildInputs = [
|
|
elfutils
|
|
libxml2
|
|
];
|
|
|
|
checkInputs = [
|
|
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 stdenv.lib; {
|
|
description = "ABI Generic Analysis and Instrumentation Library";
|
|
homepage = "https://sourceware.org/libabigail/";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|