Files
nixpkgs/pkgs/by-name/lt/lttv/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
glib,
gtk2,
popt,
babeltrace,
}:
stdenv.mkDerivation rec {
pname = "lttv";
version = "1.5";
src = fetchurl {
url = "https://lttng.org/files/packages/${pname}-${version}.tar.bz2";
sha256 = "1faldxnh9dld5k0vxckwpqw241ya1r2zv286l6rpgqr500zqw7r1";
};
patches = [
# fix build with gcc14:
(fetchpatch {
name = "lttv-c99-compatibility-fix.patch";
url = "https://git.lttng.org/?p=lttv.git;a=patch;h=6b9d59fe4cc1dc943501ab6ede93856b2f06c3ce";
hash = "sha256-zcLHBri0i10NGkgiZT6QRZbixffYvkzLaFBeC/ESF/U=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
glib
gtk2
popt
babeltrace
];
meta = with lib; {
description = "Graphical trace viewer for LTTng trace files";
homepage = "https://lttng.org/";
# liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1.
# The rest of the LTTV package is distributed under the GNU GPL v2.
license = with licenses; [
gpl2
lgpl21
];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}