andcli: init at 2.1.3 (#404465)

This commit is contained in:
Aleksana
2025-05-24 11:08:59 +08:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
+12
View File
@@ -4000,6 +4000,18 @@
githubId = 141733;
name = "Andrew Bruce";
};
Cameo007 = {
name = "Pascal Dietrich";
email = "pascal.1.dietrich@hotmail.com";
matrix = "@cameo007:mintux.de";
github = "Cameo007";
githubId = 80521473;
keys = [
{
fingerprint = "2D62 24B9 1250 86AF E318 12A0 F1D1 5228 0511 FB91";
}
];
};
camerondugan = {
email = "cameron.dugan@protonmail.com";
github = "camerondugan";
+39
View File
@@ -0,0 +1,39 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "andcli";
version = "2.1.3";
subPackages = [ "cmd/andcli" ];
src = fetchFromGitHub {
owner = "tjblackheart";
repo = "andcli";
tag = "v${finalAttrs.version}";
hash = "sha256-MfhChaowSkCggeyubYdlcmU3+dd+yXlVrgdr85xjlI8=";
};
vendorHash = "sha256-C5XW3nxTUjcH6YaFYSxuKdtMF5SvrbOjErWIQXNwSJA=";
ldflags = [
"-s"
"-w"
"-X github.com/tjblackheart/andcli/v2/internal/buildinfo.Commit=${finalAttrs.src.tag}"
"-X github.com/tjblackheart/andcli/v2/internal/buildinfo.AppVersion=${finalAttrs.src.tag}"
];
# As stated in #404465 the versionCheckHook does not work so it is not used here
meta = {
homepage = "https://github.com/tjblackheart/andcli";
description = "2FA TUI for your shell";
changelog = "https://github.com/tjblackheart/andcli/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Cameo007 ];
mainProgram = "andcli";
};
})