beans: init at 0.4.0 (#481702)

This commit is contained in:
Gaétan Lepage
2026-02-09 09:01:24 +00:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
+8
View File
@@ -24779,6 +24779,14 @@
githubId = 1505617;
name = "Sean Lee";
};
sleroq = {
name = "Sleroq";
email = "sleroq@cum.army";
github = "sleroq";
matrix = "@sleroq:sleroq.link";
githubId = 52239427;
keys = [ { fingerprint = "2502 640F 4254 7933 FEF1 7A33 3414 5C1D B76E 618F"; } ];
};
SlothOfAnarchy = {
email = "slothofanarchy1@gmail.com";
matrix = "@michel.weitbrecht:helsinki-systems.de";
+41
View File
@@ -0,0 +1,41 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "beans";
version = "0.4.0";
src = fetchFromGitHub {
owner = "hmans";
repo = "beans";
tag = "v${finalAttrs.version}";
hash = "sha256-3SgTqR5DGAb5r+VU3YknoWATqglq8G7QV3kTVUSL9u4=";
};
vendorHash = "sha256-TprfPZ/clb7PLMAkxF0y78bCef4XarhgHlIhIPn1nQA=";
ldflags = [
"-s"
"-X github.com/hmans/beans/cmd.version=${finalAttrs.version}"
"-X github.com/hmans/beans/cmd.commit=${finalAttrs.src.rev}"
"-X github.com/hmans/beans/cmd.date=unknown"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "version";
meta = {
description = "Issue tracker for you, your team, and your coding agents";
homepage = "https://github.com/hmans/beans";
changelog = "https://github.com/hmans/beans/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sleroq ];
mainProgram = "beans";
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
})