honeyvent: 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
2caf4ef500
commit
7967aebe4b
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
generic: {
|
||||
v1_1_0 = generic {
|
||||
version = "1.1.0";
|
||||
sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7";
|
||||
sha256 = "sha256-yFQEOshjaH6fRCQ7IZChANI9guZlTXk35p1NzQvxUdI=";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue