chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ot / otel-desktop-viewer / package.nix
blobe8dc8f1844355fd734020e63193c366320524f40
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , testers
5 , otel-desktop-viewer
6 }:
8 buildGoModule rec {
9   pname = "otel-desktop-viewer";
10   version = "0.1.4";
12   src = fetchFromGitHub {
13     owner = "CtrlSpice";
14     repo = "otel-desktop-viewer";
15     rev = "v${version}";
16     hash = "sha256-kMgcco4X7X9WoCCH8iZz5qGr/1dWPSeQOpruTSUnonI=";
17   };
19   # https://github.com/CtrlSpice/otel-desktop-viewer/issues/139
20   patches = [ ./version-0.1.4.patch ];
22   subPackages = [ "..." ];
24   vendorHash = "sha256-pH16DCYeW8mdnkkRi0zqioovZu9slVc3gAdhMYu2y98=";
26   ldflags = [ "-s" "-w" ];
28   passthru.tests.version = testers.testVersion {
29     inherit version;
30     package = otel-desktop-viewer;
31     command = "otel-desktop-viewer --version";
32   };
34   meta = with lib; {
35     changelog = "https://github.com/CtrlSpice/otel-desktop-viewer/releases/tag/v${version}";
36     description = "Receive & visualize OpenTelemtry traces locally within one CLI tool";
37     homepage = "https://github.com/CtrlSpice/otel-desktop-viewer";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ gaelreyrol ];
40     mainProgram = "otel-desktop-viewer";
41   };