summaryrefslogtreecommitdiff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorAliaksandr <grubian2@gmail.com>2026-01-03 02:55:02 +0200
committerAliaksandr <grubian2@gmail.com>2026-01-31 19:54:16 +0200
commitb2e1a996ffd48e7a6067f4c9ad33e5459659ce7c (patch)
tree2341588e4737cf2cbf6a203d72a1ed8d1f4d3c1c /pkgs/os-specific
parenttexworks: move to by-name, modernize (diff)
downloadnixpkgs-b2e1a996ffd48e7a6067f4c9ad33e5459659ce7c.tar.gz
kernelshark: move to by-name
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/trace-cmd/kernelshark.nix72
1 files changed, 0 insertions, 72 deletions
diff --git a/pkgs/os-specific/linux/trace-cmd/kernelshark.nix b/pkgs/os-specific/linux/trace-cmd/kernelshark.nix
deleted file mode 100644
index d7136f4a5d71..000000000000
--- a/pkgs/os-specific/linux/trace-cmd/kernelshark.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- lib,
- stdenv,
- fetchzip,
- qtbase,
- qtscxml,
- cmake,
- json_c,
- mesa_glu,
- libglut,
- trace-cmd,
- pkg-config,
- libtraceevent,
- libtracefs,
- freefont_ttf,
- wrapQtAppsHook,
- qtwayland,
- fetchpatch,
-}:
-
-stdenv.mkDerivation (finalAttrs: {
- pname = "kernelshark";
- version = "2.4.0";
-
- src = fetchzip {
- url = "https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/snapshot/kernelshark-v${finalAttrs.version}.tar.gz";
- hash = "sha256-OT6ClyZRE+pxWwm+sfzvN3CnoCIyxcAiVsi1fdzaT4M=";
- };
-
- patches = [
- # kernelshark: Allow building with CMake 4+
- (fetchpatch {
- url = "https://lore.kernel.org/linux-trace-devel/20251010131715.1123934-1-michal.sojka@cvut.cz/raw";
- hash = "sha256-hT+EhauFlQGjhXyq7Z9FwjS3C+0Jlz6n5BDKCXwzBCc=";
- })
- ];
-
- outputs = [ "out" ];
-
- nativeBuildInputs = [
- pkg-config
- cmake
- wrapQtAppsHook
- ];
-
- buildInputs = [
- qtbase
- qtscxml
- qtwayland
- json_c
- mesa_glu
- libglut
- libtraceevent
- libtracefs
- trace-cmd
- ];
-
- cmakeFlags = [
- "-D_INSTALL_PREFIX=${placeholder "out"}"
- "-D_POLKIT_INSTALL_PREFIX=${placeholder "out"}"
- "-DPKG_CONGIG_DIR=${placeholder "out"}/lib/pkgconfig"
- "-DTT_FONT_FILE=${freefont_ttf}/share/fonts/truetype/FreeSans.ttf"
- ];
-
- meta = {
- description = "GUI for trace-cmd which is an interface for the Linux kernel ftrace subsystem";
- homepage = "https://kernelshark.org/";
- license = lib.licenses.gpl2Only;
- platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ basvandijk ];
- };
-})