1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "tml";
8 version = "0.6.1";
9
10 src = fetchFromGitHub {
11 owner = "liamg";
12 repo = "tml";
13 rev = "v${version}";
14 hash = "sha256-y9iv6s+ShKLxd+SOBQxwvPwuEL1kepJL6ukA4aoV9Z8=";
15 };
16
17 vendorHash = "sha256-CHZS1SpPko8u3tZAYbf+Di882W55X9Q/zd4SmFCRgKM=";
18
19 ldflags = [ "-s" "-w" ];
20
21 meta = with lib; {
22 description = "A tiny markup language for terminal output";
23 homepage = "https://github.com/liamg/tml";
24 changelog = "https://github.com/liamg/tml/releases/tag/v${version}";
25 license = licenses.unlicense;
26 maintainers = with maintainers; [ figsoda ];
27 };
28}