about summary refs log tree commit diff
path: root/pkgs/servers/tracing
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2023-01-30 23:25:31 +0100
committerThomas Gerbet <thomas@gerbet.me>2023-01-30 23:25:31 +0100
commit7967aebe4b296c2bc596bf794b51999fba1e0deb (patch)
treef0f16085018b1da6effb19df884774d4473b2602 /pkgs/servers/tracing
parent2caf4ef5005ecc68141ecb4aac271079f7371c44 (diff)
downloadnixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar.gz
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar.bz2
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar.lz
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar.xz
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.tar.zst
nixlib-7967aebe4b296c2bc596bf794b51999fba1e0deb.zip
honeyvent: uses fetchFromGitHub
The archive hash has changed.
See https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/
Diffstat (limited to 'pkgs/servers/tracing')
-rw-r--r--pkgs/servers/tracing/honeycomb/honeyvent/default.nix10
-rw-r--r--pkgs/servers/tracing/honeycomb/honeyvent/versions.nix2
2 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/default.nix b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix
index 839b8ec053f7..e1009c35a882 100644
--- a/pkgs/servers/tracing/honeycomb/honeyvent/default.nix
+++ b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix
@@ -1,13 +1,15 @@
-{ lib, buildGoModule, fetchurl }:
+{ lib, buildGoModule, fetchFromGitHub }:
 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;
+  src = fetchFromGitHub {
+    owner = "honeycombio";
+    repo = "honeyvent";
+    rev = "v${version}";
+    hash = sha256;
   };
   inherit (buildGoModule.go) GOOS GOARCH;
 
diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
index 831de6c93372..1bf2443aa183 100644
--- a/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
+++ b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
@@ -1,6 +1,6 @@
 generic: {
   v1_1_0 = generic {
     version = "1.1.0";
-    sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7";
+    sha256 = "sha256-yFQEOshjaH6fRCQ7IZChANI9guZlTXk35p1NzQvxUdI=";
   };
 }