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:
parent
7967aebe4b
commit
fdaeb50a8d
|
@ -1,13 +1,15 @@
|
|||
{ lib, buildGoModule, fetchurl }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
import ./versions.nix ({version, sha256}:
|
||||
buildGoModule {
|
||||
pname = "honeytail";
|
||||
inherit version;
|
||||
vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY=";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/honeycombio/honeytail/archive/refs/tags/v${version}.tar.gz";
|
||||
inherit sha256;
|
||||
src = fetchFromGitHub {
|
||||
owner = "honeycombio";
|
||||
repo = "honeytail";
|
||||
rev = "v${version}";
|
||||
hash = sha256;
|
||||
};
|
||||
inherit (buildGoModule.go) GOOS GOARCH;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
generic: {
|
||||
v1_6_0 = generic {
|
||||
version = "1.6.0";
|
||||
sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy";
|
||||
sha256 = "sha256-S0hIgNNzF1eNe+XJs+PT7EUIl5oJCXu+B/zQago4sf8=";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue