Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }:
2
3stdenv.mkDerivation rec {
4 pname = "lttv";
5 version = "1.5";
6
7 src = fetchurl {
8 url = "https://lttng.org/files/packages/${pname}-${version}.tar.bz2";
9 sha256 = "1faldxnh9dld5k0vxckwpqw241ya1r2zv286l6rpgqr500zqw7r1";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ glib gtk2 popt babeltrace ];
14
15 meta = with lib; {
16 description = "Graphical trace viewer for LTTng trace files";
17 homepage = "https://lttng.org/";
18 # liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1.
19 # The rest of the LTTV package is distributed under the GNU GPL v2.
20 license = with licenses; [ gpl2 lgpl21 ];
21 platforms = platforms.linux;
22 maintainers = [ maintainers.bjornfor ];
23 };
24
25}