about summary refs log tree commit diff
path: root/pkgs/servers/tracing
diff options
context:
space:
mode:
authorIan Duncan <ian@iankduncan.com>2022-01-07 16:34:26 +0000
committerIan Duncan <ian@iankduncan.com>2022-01-07 16:38:36 +0000
commit32c717749c398be042b8a6c6155a61e5b79e4366 (patch)
tree473da98da1b83feadb57011d54cd1e8a41e1ebca /pkgs/servers/tracing
parenta7e766f12106c905b50bb491af24131292030c55 (diff)
honeyvent: init at 1.1.0
Diffstat (limited to 'pkgs/servers/tracing')
-rw-r--r--pkgs/servers/tracing/honeycomb/honeyvent/default.nix21
-rw-r--r--pkgs/servers/tracing/honeycomb/honeyvent/versions.nix6
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/default.nix b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix
new file mode 100644
index 0000000000000..839b8ec053f73
--- /dev/null
+++ b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildGoModule, fetchurl }:
+import ./versions.nix ({version, sha256}:
+  buildGoModule {
+  pname = "honeyvent";
+  inherit version;
+  vendorSha256 = null;
+
+  src = fetchurl {
+    url = "https://github.com/honeycombio/honeyvent/archive/refs/tags/v${version}.tar.gz";
+    inherit sha256;
+  };
+  inherit (buildGoModule.go) GOOS GOARCH;
+
+  meta = with lib; {
+    description = "CLI for sending individual events to honeycomb.io";
+    homepage = "https://honeycomb.io/";
+    license = licenses.asl20;
+    maintainers = [ maintainers.iand675 ];
+  };
+})
+
diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
new file mode 100644
index 0000000000000..831de6c93372f
--- /dev/null
+++ b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
@@ -0,0 +1,6 @@
+generic: {
+  v1_1_0 = generic {
+    version = "1.1.0";
+    sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7";
+  };
+}