6 , databasePath ? "/etc/secureboot"
14 src = fetchFromGitHub {
18 hash = "sha256-1TprUr+bLPOlMpe4ReV1S/QbVsA8Q7QIOcLczEaSyAQ=";
25 vendorHash = "sha256-LuSewWK/sxaHibJ6a05PM9CPen8J+MJD6lwk4SNOWSA=";
27 ldflags = [ "-s" "-w" "-X github.com/foxboron/sbctl.DatabasePath=${databasePath}" ];
29 nativeBuildInputs = [ installShellFiles asciidoc ];
36 installManPage docs/sbctl.8
38 installShellCompletion --cmd sbctl \
39 --bash <($out/bin/sbctl completion bash) \
40 --fish <($out/bin/sbctl completion fish) \
41 --zsh <($out/bin/sbctl completion zsh)
44 passthru.updateScript = nix-update-script { };
47 description = "Secure Boot key manager";
48 mainProgram = "sbctl";
49 homepage = "https://github.com/Foxboron/sbctl";
50 license = licenses.mit;
51 maintainers = with maintainers; [ raitobezarius ];
52 # go-uefi do not support darwin at the moment:
53 # see upstream on https://github.com/Foxboron/go-uefi/issues/13
54 platforms = platforms.linux;