From 7c931f3fa12a3580258f456d90018cf6fe52c44e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 25 Jun 2023 04:55:53 +0000 Subject: [PATCH 1/2] coreth: 0.12.2 -> 0.12.3 --- pkgs/applications/networking/coreth/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/coreth/default.nix b/pkgs/applications/networking/coreth/default.nix index f5c00a2257e6..6065e9c4e728 100644 --- a/pkgs/applications/networking/coreth/default.nix +++ b/pkgs/applications/networking/coreth/default.nix @@ -6,19 +6,19 @@ buildGoModule rec { pname = "coreth"; - version = "0.12.2"; + version = "0.12.3"; src = fetchFromGitHub { owner = "ava-labs"; repo = pname; rev = "v${version}"; - hash = "sha256-WkSZ+7ygg2dkotv3vwTrWaVsSQvgmPJ0xhPCqZdQit8="; + hash = "sha256-4eaoTcbb7ddcSRWng3GsgK8JdFRMxxb0V7V1G7WV9tg="; }; # go mod vendor has a bug, see: golang/go#57529 proxyVendor = true; - vendorHash = "sha256-nQfb94IileWTkSZOliDT6B6o7qQ8aQ0MdY0jzc84VIM="; + vendorHash = "sha256-wOD/Iuks32TiBOFVsuaLzYe3vlOtz6MCI9abscZMxJc="; ldflags = [ "-s" From 746a1f05940c4fccc35f2c59268ab7c2b5892fc6 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 25 Jun 2023 14:34:19 +0400 Subject: [PATCH 2/2] coreth: mark as unbroken on darwin --- pkgs/applications/networking/coreth/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/applications/networking/coreth/default.nix b/pkgs/applications/networking/coreth/default.nix index 6065e9c4e728..779fa891b44a 100644 --- a/pkgs/applications/networking/coreth/default.nix +++ b/pkgs/applications/networking/coreth/default.nix @@ -41,9 +41,5 @@ buildGoModule rec { changelog = "https://github.com/ava-labs/coreth/releases/tag/v${version}"; license = licenses.lgpl3Only; maintainers = with maintainers; [ urandom ]; - # In file included from ../go/pkg/mod/github.com/zondax/hid@v0.9.1-0.20220302062450-5552068d2266/hid_enabled.go:38: - # ./hidapi/mac/hid.c:693:34: error: use of undeclared identifier 'kIOMainPortDefault' - # entry = IORegistryEntryFromPath(kIOMainPortDefault, path); - broken = stdenv.isDarwin; }; }