Add babeltrace2 for nanos6

This commit is contained in:
Rodrigo Arias 2020-10-16 18:18:31 +02:00
parent 80ccd1240a
commit 327a155907
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{
stdenv
, fetchurl
, pkgconfig
, glib
, libuuid
, popt
, elfutils
, python3
, swig4
, ncurses
, breakpointHook
}:
stdenv.mkDerivation rec {
pname = "babeltrace2";
version = "2.0.3";
src = fetchurl {
url = "https://www.efficios.com/files/babeltrace/${pname}-${version}.tar.bz2";
sha256 = "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4lajadm5";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libuuid popt elfutils python3 swig4 ncurses breakpointHook ];
configureFlags = [
"--enable-python-plugins"
"--enable-python-bindings"
];
}

View File

@ -116,6 +116,8 @@ let
nanos6Latest = callPackage ./bsc/nanos6/default.nix { }; nanos6Latest = callPackage ./bsc/nanos6/default.nix { };
nanos6Git = callPackage ./bsc/nanos6/git.nix { }; nanos6Git = callPackage ./bsc/nanos6/git.nix { };
babeltrace2 = callPackage ./bsc/babeltrace2/default.nix { };
vtk = callPackage ./bsc/vtk/default.nix { vtk = callPackage ./bsc/vtk/default.nix {
inherit (self.xorg) libX11 xorgproto libXt; inherit (self.xorg) libX11 xorgproto libXt;
}; };