tlock: init at 1.0.0 (#344896)

This commit is contained in:
Arne Keller
2024-12-18 19:54:38 +01:00
committed by GitHub
2 changed files with 47 additions and 0 deletions
+6
View File
@@ -6453,6 +6453,12 @@
name = "Edward Kimber";
githubId = 99987;
};
eklairs = {
name = "Eklairs";
email = "eklairs@proton.me";
github = "eklairs";
githubId = 142717667;
};
ekleog = {
email = "leo@gaspard.io";
matrix = "@leo:gaspard.ninja";
+41
View File
@@ -0,0 +1,41 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "tlock";
version = "1.0.0";
src = fetchFromGitHub {
owner = "eklairs";
repo = "tlock";
rev = "v${version}";
hash = "sha256-O6erxzanSO5BjMnSSmn89w9SA+xyHhp0SSDkCk5hp8Y=";
fetchSubmodules = true;
};
vendorHash = "sha256-G402CigSvloF/SI9Wbcts/So1impMUH5kroxDD/KKew=";
excludedPackages = [
"bubbletea"
"scripts"
];
ldflags = [
"-s"
"-w"
"-X github.com/eklairs/tlock/tlock-internal/constants.VERSION=v${version}"
];
meta = {
mainProgram = "tlock";
license = lib.licenses.mit;
homepage = "https://github.com/eklairs/tlock";
description = "Two-Factor Authentication Tokens Manager in Terminal";
changelog = "https://github.com/eklairs/tlock/releases/tag/v${version}";
maintainers = with lib.maintainers; [ eklairs ];
platforms = lib.platforms.unix;
};
}