nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 babeltrace2,
7 popt,
8 libuuid,
9 liburcu,
10 lttng-ust,
11 kmod,
12 libxml2,
13}:
14
15stdenv.mkDerivation rec {
16 pname = "lttng-tools";
17 version = "2.14.0";
18
19 src = fetchurl {
20 url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
21 sha256 = "sha256-2MOcJs7BO3vYJVHNUqIu/DWLiI4268+cG2DvHDo8L9M=";
22 };
23
24 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [
26 babeltrace2
27 popt
28 libuuid
29 liburcu
30 lttng-ust
31 libxml2
32 kmod
33 ];
34
35 enableParallelBuilding = true;
36
37 meta = with lib; {
38 description = "Tracing tools (kernel + user space) for Linux";
39 mainProgram = "lttng";
40 homepage = "https://lttng.org/";
41 license = with licenses; [
42 lgpl21Only
43 gpl2Only
44 ];
45 platforms = platforms.linux;
46 maintainers = [ maintainers.bjornfor ];
47 };
48
49}