From 442d5ac1f026add7a791905386ced53e62572013 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Sat, 10 May 2025 18:59:03 -0400 Subject: [PATCH] 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 --- pkgs/by-name/sb/sbctl/package.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/sb/sbctl/package.nix b/pkgs/by-name/sb/sbctl/package.nix index a9b33ea9f479..8f971ca08294 100644 --- a/pkgs/by-name/sb/sbctl/package.nix +++ b/pkgs/by-name/sb/sbctl/package.nix @@ -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; }; }