sbctl: 0.16 -> 0.17, adoption

- Updated version to 0.17
- Fixed `hash` and `vendorHash`
- Removed nested `with` usage
- Set `mainProgram`
- Minor formatting cleanup

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Pokey 2025-05-10 18:59:03 -04:00 committed by Sefa Eyeoglu
parent 113b5ea334
commit 442d5ac1f0
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -11,16 +11,16 @@
buildGoModule rec {
pname = "sbctl";
version = "0.16";
version = "0.17";
src = fetchFromGitHub {
owner = "Foxboron";
repo = "sbctl";
tag = version;
hash = "sha256-BLSvjo6GCqpECJPJtQ6C2zEz1p03uyvxTYa+DoxZ78s=";
hash = "sha256-7dCaWemkus2GHxILBEx5YvzdAmv89JfcPbqZZ6QwriI";
};
vendorHash = "sha256-srfZ+TD93szabegwtzLTjB+uo8aj8mB4ecQ9m8er00A=";
vendorHash = "sha256-gpHEJIbLnB0OiYB00rHK6OwrnHTHCj/tTVlUzuFjFKY=";
ldflags = [
"-s"
@ -57,17 +57,18 @@ buildGoModule rec {
passthru.updateScript = nix-update-script { };
meta = with lib; {
meta = {
description = "Secure Boot key manager";
mainProgram = "sbctl";
homepage = "https://github.com/Foxboron/sbctl";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
Pokeylooted
raitobezarius
Scrumplex
];
# go-uefi do not support darwin at the moment:
# go-uefi does not support darwin at the moment:
# see upstream on https://github.com/Foxboron/go-uefi/issues/13
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}