Files
2026-07-19 20:14:48 +02:00

36 lines
737 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "tml";
version = "0.7.1";
src = fetchFromGitHub {
owner = "liamg";
repo = "tml";
rev = "v${finalAttrs.version}";
hash = "sha256-hDcQIBwjm7ZL9zUdTeZfvMeh/kqRk6wjwtCUvTJCG/U=";
};
vendorHash = "sha256-CHZS1SpPko8u3tZAYbf+Di882W55X9Q/zd4SmFCRgKM=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tiny markup language for terminal output";
mainProgram = "tml";
homepage = "https://github.com/liamg/tml";
changelog = "https://github.com/liamg/tml/releases/tag/v${finalAttrs.version}";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [
sheeeng
];
};
})