11 pname = "otel-desktop-viewer";
14 src = fetchFromGitHub {
16 repo = "otel-desktop-viewer";
18 hash = "sha256-kMgcco4X7X9WoCCH8iZz5qGr/1dWPSeQOpruTSUnonI=";
21 # https://github.com/CtrlSpice/otel-desktop-viewer/issues/139
22 patches = [ ./version-0.1.4.patch ];
24 subPackages = [ "..." ];
26 vendorHash = "sha256-pH16DCYeW8mdnkkRi0zqioovZu9slVc3gAdhMYu2y98=";
28 ldflags = [ "-s" "-w" ];
30 buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_12;
32 passthru.tests.version = testers.testVersion {
34 package = otel-desktop-viewer;
35 command = "otel-desktop-viewer --version";
39 changelog = "https://github.com/CtrlSpice/otel-desktop-viewer/releases/tag/v${version}";
40 description = "Receive & visualize OpenTelemtry traces locally within one CLI tool";
41 homepage = "https://github.com/CtrlSpice/otel-desktop-viewer";
42 license = licenses.asl20;
43 maintainers = with maintainers; [ gaelreyrol ];
44 mainProgram = "otel-desktop-viewer";