sbctl: 0.17 -> 0.18

release note: https://github.com/Foxboron/sbctl/releases/tag/0.18

fixed build failure mentioned in release note:
> Binary builds are broken in the CI because of the new pcsclite dependency with cgo. Work in progress to fix.
This commit is contained in:
Pui Yong Qing
2025-10-18 23:35:38 +08:00
parent 3dbb3a5929
commit b9e30a0bb6

View File

@@ -7,20 +7,22 @@
asciidoc, asciidoc,
databasePath ? "/etc/secureboot", databasePath ? "/etc/secureboot",
nix-update-script, nix-update-script,
pkg-config,
pcsclite,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "sbctl"; pname = "sbctl";
version = "0.17"; version = "0.18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Foxboron"; owner = "Foxboron";
repo = "sbctl"; repo = "sbctl";
tag = version; tag = version;
hash = "sha256-7dCaWemkus2GHxILBEx5YvzdAmv89JfcPbqZZ6QwriI"; hash = "sha256-Q8uQ74XvteMRcnUPu1PjLAPWt3jeI7aF4m3QMjiZJis=";
}; };
vendorHash = "sha256-gpHEJIbLnB0OiYB00rHK6OwrnHTHCj/tTVlUzuFjFKY="; vendorHash = "sha256-PwLdWoC8tjdKoUAg2xvopggpgZ9WKaUslO3ZBtBah2k=";
ldflags = [ ldflags = [
"-s" "-s"
@@ -32,8 +34,11 @@ buildGoModule rec {
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
asciidoc asciidoc
pkg-config
]; ];
buildInputs = [ pcsclite ];
postBuild = '' postBuild = ''
make docs/sbctl.conf.5 docs/sbctl.8 make docs/sbctl.conf.5 docs/sbctl.8
''; '';