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