Merge pull request #95361 from sternenseemann/chroma-0.8.0

chroma: init at 0.8.0
This commit is contained in:
Stig P 2020-09-12 13:13:09 +00:00 committed by GitHub
commit a7e314487e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -926,6 +926,8 @@ in
withDriver = false;
};
chroma = callPackage ../tools/text/chroma { };
clair = callPackage ../tools/admin/clair { };
cloud-sql-proxy = callPackage ../tools/misc/cloud-sql-proxy { };