diff options
author | Stig P <stig@stig.io> | 2020-09-12 13:13:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 13:13:09 +0000 |
commit | a7e314487e491b751b8c17b062f167416d3b5d39 (patch) | |
tree | 976ea848de24e7aa3c38150435009272ccf07b5c /pkgs/tools/text | |
parent | 1510876ee95c5be8610b5e24cb89f1308ccc88be (diff) | |
parent | 1f6d8426fd03d24b415b96f3e2c3cc05a627f26b (diff) |
Merge pull request #95361 from sternenseemann/chroma-0.8.0
chroma: init at 0.8.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/chroma/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/chroma/default.nix b/pkgs/tools/text/chroma/default.nix new file mode 100644 index 000000000000..ae4e26e2ca41 --- /dev/null +++ b/pkgs/tools/text/chroma/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "chroma"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "alecthomas"; + repo = "chroma"; + rev = "v${version}"; + sha256 = "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"; + }; + + vendorSha256 = "16cnc4scgkx8jan81ymha2q1kidm6hzsnip5mmgbxpqcc2h7hv9m"; + + subPackages = [ "cmd/chroma" ]; + + meta = with lib; { + homepage = "https://github.com/alecthomas/chroma"; + description = "A general purpose syntax highlighter in pure Go"; + license = licenses.mit; + maintainers = [ maintainers.sternenseemann ]; + }; +} |