nixpkgs/pkgs/tools/text/tml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
682 B
Nix
Raw Normal View History

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