3
0
Fork 0
forked from mirrors/nixpkgs

honeytail: uses fetchFromGitHub

The archive hash has changed.
See https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/
This commit is contained in:
Thomas Gerbet 2023-01-30 23:28:05 +01:00
parent 7967aebe4b
commit fdaeb50a8d
2 changed files with 7 additions and 5 deletions

View file

@ -1,13 +1,15 @@
{ lib, buildGoModule, fetchurl }: { lib, buildGoModule, fetchFromGitHub }:
import ./versions.nix ({version, sha256}: import ./versions.nix ({version, sha256}:
buildGoModule { buildGoModule {
pname = "honeytail"; pname = "honeytail";
inherit version; inherit version;
vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY="; vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY=";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/honeycombio/honeytail/archive/refs/tags/v${version}.tar.gz"; owner = "honeycombio";
inherit sha256; repo = "honeytail";
rev = "v${version}";
hash = sha256;
}; };
inherit (buildGoModule.go) GOOS GOARCH; inherit (buildGoModule.go) GOOS GOARCH;

View file

@ -1,6 +1,6 @@
generic: { generic: {
v1_6_0 = generic { v1_6_0 = generic {
version = "1.6.0"; version = "1.6.0";
sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy"; sha256 = "sha256-S0hIgNNzF1eNe+XJs+PT7EUIl5oJCXu+B/zQago4sf8=";
}; };
} }