Unverified Commit b9e30a0b authored by Pui Yong Qing's avatar Pui Yong Qing
Browse files

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.
parent 3dbb3a59
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -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
  '';