libabigail: init at 1.6 (#72383)

libabigail: init at 1.6
This commit is contained in:
Jan Tojnar 2019-10-31 21:47:52 +01:00 committed by GitHub
commit b45c5dc0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{ stdenv
, fetchurl
, autoreconfHook
, elfutils
, libxml2
, pkgconfig
, strace
, python3
}:
stdenv.mkDerivation rec {
pname = "libabigail";
version = "1.6";
outputs = [ "bin" "out" "dev" ];
src = fetchurl {
url = "https://mirrors.kernel.org/sourceware/${pname}/${pname}-${version}.tar.gz";
sha256 = "04j07lhvwbp6qp8pdwbf7iqnr7kgpabmqylsw4invpmzwnyp6g6g";
};
nativeBuildInputs = [
autoreconfHook
pkgconfig
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;
};
}

View File

@ -11750,6 +11750,8 @@ in
libaal = callPackage ../development/libraries/libaal { };
libabigail = callPackage ../development/libraries/libabigail { };
libaccounts-glib = callPackage ../development/libraries/libaccounts-glib { };
libacr38u = callPackage ../tools/security/libacr38u { };