summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-10-31 21:47:52 +0100
committerGitHub <noreply@github.com>2019-10-31 21:47:52 +0100
commitb45c5dc0aa6fb73a9d72db122d7d6d0d61598042 (patch)
treece3811bc90040b19480c155e38ccdb5ef92f0365 /pkgs/development
parent08884d6a0f974b457fff579c9b8eeb22d8e3de9b (diff)
parentb877d845de03e73e96236efe6f536f4a9dd6260a (diff)
downloadnixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar.gz
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar.bz2
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar.lz
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar.xz
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.tar.zst
nixpkgs-b45c5dc0aa6fb73a9d72db122d7d6d0d61598042.zip
libabigail: init at 1.6 (#72383)
libabigail: init at 1.6
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/libabigail/default.nix59
1 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libabigail/default.nix b/pkgs/development/libraries/libabigail/default.nix
new file mode 100644
index 00000000000..dc19adfb6a6
--- /dev/null
+++ b/pkgs/development/libraries/libabigail/default.nix
@@ -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;
+  };
+}