ctfast: Add experimental ctf conversor
This commit is contained in:
parent
3d0e93b4d3
commit
1e84dc196a
35
bsc/ctfast/default.nix
Normal file
35
bsc/ctfast/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
stdenv
|
||||
, babeltrace2
|
||||
, pkg-config
|
||||
, uthash
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ctfast";
|
||||
version = "${src.shortRev}";
|
||||
|
||||
buildInputs = [
|
||||
babeltrace2
|
||||
pkg-config
|
||||
uthash
|
||||
];
|
||||
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://git@bscpm03.bsc.es/rarias/ctfast.git";
|
||||
ref = "master";
|
||||
};
|
||||
|
||||
# Fix the search path
|
||||
configurePhase = ''
|
||||
sed -i "s@^CTFPLUGINS=.*@CTFPLUGINS=$out/lib/nanos6@" ctfast2prv
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ctfast2prv $out/bin
|
||||
|
||||
mkdir -p $out/lib/nanos6
|
||||
cp prv.so $out/lib/nanos6/
|
||||
'';
|
||||
}
|
@ -151,6 +151,8 @@ let
|
||||
systemtap = self.linuxPackages_4_9.systemtap;
|
||||
};
|
||||
|
||||
ctfast = callPackage ./bsc/ctfast/default.nix { };
|
||||
|
||||
# =================================================================
|
||||
# MN4 specific
|
||||
# =================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user