bunster: init at 0.8.0 (#382239)

This commit is contained in:
Arne Keller
2025-03-06 13:55:56 +01:00
committed by GitHub
2 changed files with 47 additions and 0 deletions
+5
View File
@@ -26029,6 +26029,11 @@
githubId = 73419713;
name = "Yunfachi";
};
yunz = {
github = "yunz-dev";
githubId = 112053367;
name = "Yunus";
};
yureien = {
email = "contact@sohamsen.me";
github = "Yureien";
+42
View File
@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
stdenv,
}:
buildGoModule rec {
pname = "bunster";
version = "0.8.0";
src = fetchFromGitHub {
owner = "yassinebenaid";
repo = "bunster";
tag = "v${version}";
hash = "sha256-ZooaM9zi6tC7Y6Oks7OEtMPX0+4kd1UaBGzfNLgCj10=";
};
vendorHash = "sha256-Gs+8J+yEVynsBte3Hnx7jnYRPa/61CIISDbMyDKhPRE=";
# checks fail on aarch64-darwin but binary still builds successfully
doCheck = !stdenv.hostPlatform.isDarwin;
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Compile shell scripts to static binaries";
homepage = "https://github.com/yassinebenaid/bunster";
changelog = "https://github.com/yassinebenaid/bunster/releases/tag/v{version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
yunz
];
mainProgram = "bunster";
platforms = lib.platforms.unix;
};
}