2023-05-27 19:59:46 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tml";
|
2024-04-24 16:45:07 +00:00
|
|
|
version = "0.7.0";
|
2023-05-27 19:59:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liamg";
|
|
|
|
repo = "tml";
|
|
|
|
rev = "v${version}";
|
2024-04-24 16:45:07 +00:00
|
|
|
hash = "sha256-QMXEKjOKYQlzXc2ds8OAAL5xUxayGb6mxxyeHsCkfwo=";
|
2023-05-27 19:59:46 +00:00
|
|
|
};
|
|
|
|
|
2023-06-09 14:00:44 +00:00
|
|
|
vendorHash = "sha256-CHZS1SpPko8u3tZAYbf+Di882W55X9Q/zd4SmFCRgKM=";
|
2023-05-27 19:59:46 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tiny markup language for terminal output";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "tml";
|
2023-05-27 19:59:46 +00:00
|
|
|
homepage = "https://github.com/liamg/tml";
|
2023-05-28 18:32:44 +00:00
|
|
|
changelog = "https://github.com/liamg/tml/releases/tag/v${version}";
|
2023-05-27 19:59:46 +00:00
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|