-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265436 from gaelreyrol/otel-desktop-viewer-init
otel-desktop-viewer: init at 0.1.4
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ lib | ||
, buildGoModule | ||
, fetchFromGitHub | ||
, testers | ||
, otel-desktop-viewer | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "otel-desktop-viewer"; | ||
version = "0.1.4"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "CtrlSpice"; | ||
repo = "otel-desktop-viewer"; | ||
rev = "v${version}"; | ||
hash = "sha256-kMgcco4X7X9WoCCH8iZz5qGr/1dWPSeQOpruTSUnonI="; | ||
}; | ||
|
||
# https://github.com/CtrlSpice/otel-desktop-viewer/issues/139 | ||
patches = [ ./version-0.1.4.patch ]; | ||
|
||
subPackages = [ "..." ]; | ||
|
||
vendorHash = "sha256-pH16DCYeW8mdnkkRi0zqioovZu9slVc3gAdhMYu2y98="; | ||
|
||
ldflags = [ "-s" "-w" ]; | ||
|
||
passthru.tests.version = testers.testVersion { | ||
inherit version; | ||
package = otel-desktop-viewer; | ||
command = "otel-desktop-viewer --version"; | ||
}; | ||
|
||
meta = with lib; { | ||
changelog = "https://github.com/CtrlSpice/otel-desktop-viewer/releases/tag/v${version}"; | ||
description = "Receive & visualize OpenTelemtry traces locally within one CLI tool"; | ||
homepage = "https://github.com/CtrlSpice/otel-desktop-viewer"; | ||
license = licenses.asl20; | ||
maintainers = with maintainers; [ gaelreyrol ]; | ||
mainProgram = "otel-desktop-viewer"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/main.go b/main.go | ||
index 7e43908..062385c 100644 | ||
--- a/main.go | ||
+++ b/main.go | ||
@@ -15,7 +15,7 @@ func main() { | ||
info := component.BuildInfo{ | ||
Command: "otel-desktop-viewer", | ||
Description: "Basic OTel with Custom Desktop Exporter", | ||
- Version: "0.1.1", | ||
+ Version: "0.1.4", | ||
} | ||
|
||
if err := run(info); err != nil { |