Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
2
3stdenv.mkDerivation rec {
4 pname = "lttng-tools";
5 version = "2.13.9";
6
7 src = fetchurl {
8 url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-jZTclbYIz3AhawEgOj+CQrl6Iy2y4jQhovQ3CNoI8zc=";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
14
15 enableParallelBuilding = true;
16
17 meta = with lib; {
18 description = "Tracing tools (kernel + user space) for Linux";
19 homepage = "https://lttng.org/";
20 license = with licenses; [ lgpl21Only gpl2Only ];
21 platforms = platforms.linux;
22 maintainers = [ maintainers.bjornfor ];
23 };
24
25}