[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/60: gnu: Add go-github-com-alecthomas-chroma.
From: |
guix-commits |
Subject: |
15/60: gnu: Add go-github-com-alecthomas-chroma. |
Date: |
Sun, 9 Aug 2020 10:24:54 -0400 (EDT) |
wigust pushed a commit to branch master
in repository guix.
commit f12cca097b3debac95545ef4cfc7626927267cc1
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 8 23:49:43 2020 +0300
gnu: Add go-github-com-alecthomas-chroma.
* gnu/packages/golang.scm (go-github-com-alecthomas-chroma): New variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 129a507..7847795 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4634,3 +4634,32 @@ synchronizing plain text:
@item aborts tests on first assertion failure
@end itemize\n")
(license license:expat))))
+
+(define-public go-github-com-alecthomas-chroma
+ (package
+ (name "go-github-com-alecthomas-chroma")
+ (version "0.8.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/chroma")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/alecthomas/chroma"))
+ (native-inputs
+ `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
+ ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
+ ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
+ ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
+ ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+ ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
+ (home-page "https://github.com/alecthomas/chroma/")
+ (synopsis "General purpose syntax highlighter in pure Go")
+ (description "Chroma takes source code and other structured text and
+converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
+ (license license:expat)))
- 04/60: gnu: Add go-github-com-huandu-xstrings., (continued)
- 04/60: gnu: Add go-github-com-huandu-xstrings., guix-commits, 2020/08/09
- 09/60: gnu: Add go-github-com-bmatcuk-doublestar., guix-commits, 2020/08/09
- 03/60: gnu: Add go-github-com-google-uuid., guix-commits, 2020/08/09
- 06/60: gnu: Add go-github-com-mitchellh-reflectwalk., guix-commits, 2020/08/09
- 07/60: gnu: Add go-github-com-mitchellh-copystructure., guix-commits, 2020/08/09
- 01/60: gnu: Add go-github-com-masterminds-goutils., guix-commits, 2020/08/09
- 05/60: gnu: Add go-github-com-imdario-mergo., guix-commits, 2020/08/09
- 08/60: gnu: Add go-github-com-masterminds-sprig., guix-commits, 2020/08/09
- 11/60: gnu: Add go-github-com-alecthomas-colour., guix-commits, 2020/08/09
- 14/60: gnu: Add go-github-com-alecthomas-assert., guix-commits, 2020/08/09
- 15/60: gnu: Add go-github-com-alecthomas-chroma.,
guix-commits <=
- 10/60: gnu: Add go-github-com-dlclark-regexp2., guix-commits, 2020/08/09
- 12/60: gnu: Add go-github-com-alecthomas-repr., guix-commits, 2020/08/09
- 13/60: gnu: Add go-github-com-sergi-go-diff., guix-commits, 2020/08/09
- 16/60: gnu: Add go-github-com-andybalholm-cascadia., guix-commits, 2020/08/09
- 18/60: gnu: Add go-github-com-gorilla-css., guix-commits, 2020/08/09
- 22/60: gnu: Add go-github-com-muesli-reflow., guix-commits, 2020/08/09
- 21/60: gnu: Add go-github-com-microcosm-cc-bluemonday., guix-commits, 2020/08/09
- 26/60: gnu: Add go-github-com-google-goterm., guix-commits, 2020/08/09
- 27/60: gnu: Add go-github-com-muesli-termenv., guix-commits, 2020/08/09
- 17/60: gnu: Add go-github-com-puerkitobio-goquery., guix-commits, 2020/08/09