about summary refs log tree commit diff
path: root/pkgs/tools/text/tml
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-05-27 15:59:46 -0400
committerfigsoda <figsoda@pm.me>2023-05-27 16:00:10 -0400
commit93a55400242b07e9af086a0e9887d52b3231d0cf (patch)
tree3a7ec453e4aed0a4c98b3adcc7b361e993a9c9bf /pkgs/tools/text/tml
parentb65bce55a204339460d6b582eb870e883db31ec3 (diff)
downloadnixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar.gz
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar.bz2
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar.lz
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar.xz
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.tar.zst
nixlib-93a55400242b07e9af086a0e9887d52b3231d0cf.zip
tml: init at 0.6.0
https://github.com/liamg/tml
Diffstat (limited to 'pkgs/tools/text/tml')
-rw-r--r--pkgs/tools/text/tml/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/text/tml/default.nix b/pkgs/tools/text/tml/default.nix
new file mode 100644
index 000000000000..067671e654f1
--- /dev/null
+++ b/pkgs/tools/text/tml/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "tml";
+  version = "0.6.0";
+
+  src = fetchFromGitHub {
+    owner = "liamg";
+    repo = "tml";
+    rev = "v${version}";
+    hash = "sha256-92GumJGdbqxhcIj1gdkiamUA4peDG/Ar6GEimj/E7lg=";
+  };
+
+  vendorHash = "sha256-YsEmxhyDMuvq48vdHFvgsIqbqDZbg8beS0nL7lsaFJ0=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    description = "A tiny markup language for terminal output";
+    homepage = "https://github.com/liamg/tml";
+    license = licenses.unlicense;
+    maintainers = with maintainers; [ figsoda ];
+  };
+}