guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/32: gnu: Add go-github-com-alecthomas-chroma-v2.


From: guix-commits
Subject: 20/32: gnu: Add go-github-com-alecthomas-chroma-v2.
Date: Mon, 19 Feb 2024 18:41:03 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 5890d3b70f94fa84001c39c989fb48b00cd9b4a6
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Feb 17 00:19:04 2024 +0000

    gnu: Add go-github-com-alecthomas-chroma-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-alecthomas-chroma-v2): New 
variable.
    
    Change-Id: I883a1ca1a84fd35cf0d7fe946fd1caedafae3842
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5b42f10b3f..32b9be40b6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -110,6 +110,29 @@ substitution.")
 syntax highlighted HTML, ANSI-coloured text, etc.")
     (license license:expat)))
 
+(define-public go-github-com-alecthomas-chroma-v2
+  (package
+    (inherit go-github-com-alecthomas-chroma)
+    (name "go-github-com-alecthomas-chroma-v2")
+    (version "2.12.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 "1j9zz77ppi4r4ncnanzj84h7bsg0qdqrhgd5kkjiv09afm31jx83"))))
+    (arguments
+     (list #:go go-1.19
+           #:import-path "github.com/alecthomas/chroma/v2"))
+    (propagated-inputs
+     (list go-github-com-dlclark-regexp2))
+    (native-inputs
+     (list go-github-com-alecthomas-assert-v2
+           go-github-com-alecthomas-repr))))
+
 (define-public go-github-com-alecthomas-participle-v2
   (package
     (name "go-github-com-alecthomas-participle-v2")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]