tlock: init at 1.0.0 (#344896)

authored by Arne Keller and committed by GitHub be5fe037 be365b4e

+47
+6
maintainers/maintainer-list.nix
··· 6453 6453 name = "Edward Kimber"; 6454 6454 githubId = 99987; 6455 6455 }; 6456 + eklairs = { 6457 + name = "Eklairs"; 6458 + email = "eklairs@proton.me"; 6459 + github = "eklairs"; 6460 + githubId = 142717667; 6461 + }; 6456 6462 ekleog = { 6457 6463 email = "leo@gaspard.io"; 6458 6464 matrix = "@leo:gaspard.ninja";
+41
pkgs/by-name/tl/tlock/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildGoModule, 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "tlock"; 9 + version = "1.0.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "eklairs"; 13 + repo = "tlock"; 14 + rev = "v${version}"; 15 + hash = "sha256-O6erxzanSO5BjMnSSmn89w9SA+xyHhp0SSDkCk5hp8Y="; 16 + fetchSubmodules = true; 17 + }; 18 + 19 + vendorHash = "sha256-G402CigSvloF/SI9Wbcts/So1impMUH5kroxDD/KKew="; 20 + 21 + excludedPackages = [ 22 + "bubbletea" 23 + "scripts" 24 + ]; 25 + 26 + ldflags = [ 27 + "-s" 28 + "-w" 29 + "-X github.com/eklairs/tlock/tlock-internal/constants.VERSION=v${version}" 30 + ]; 31 + 32 + meta = { 33 + mainProgram = "tlock"; 34 + license = lib.licenses.mit; 35 + homepage = "https://github.com/eklairs/tlock"; 36 + description = "Two-Factor Authentication Tokens Manager in Terminal"; 37 + changelog = "https://github.com/eklairs/tlock/releases/tag/v${version}"; 38 + maintainers = with lib.maintainers; [ eklairs ]; 39 + platforms = lib.platforms.unix; 40 + }; 41 + }