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:
@@ -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
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user