mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
honeymarker: 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
fdaeb50a8d
commit
1e3d6bb770
@ -1,13 +1,15 @@
|
||||
{ lib, buildGoModule, fetchurl }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
import ./versions.nix ({version, sha256}:
|
||||
buildGoModule {
|
||||
pname = "honeymarker";
|
||||
inherit version;
|
||||
vendorSha256 = "sha256-ZuDobjC/nizZ7G0o/zVTQmDfDjcdBhfPcmkhgwFc7VU=";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/honeycombio/honeymarker/archive/refs/tags/v${version}.tar.gz";
|
||||
inherit sha256;
|
||||
src = fetchFromGitHub {
|
||||
owner = "honeycombio";
|
||||
repo = "honeymarker";
|
||||
rev = "v${version}";
|
||||
hash = sha256;
|
||||
};
|
||||
inherit (buildGoModule.go) GOOS GOARCH;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
generic: {
|
||||
v0_2_1 = generic {
|
||||
version = "0.2.1";
|
||||
sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk";
|
||||
sha256 = "sha256-tiwX94CRvXnUYpiux94XhOj2abn1Uc+wjcDOmw79ab4=";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user