[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 09/26] gnu: Add go-github-com-d5-tengo-v2.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 09/26] gnu: Add go-github-com-d5-tengo-v2. |
Date: |
Sun, 30 Jun 2024 10:05:49 +0100 |
* gnu/packages/golang-xyz.scm (go-github-com-d5-tengo-v2): New variable.
Change-Id: I714223a90deb696320c57f0281a8787e1cb6c2c4
---
gnu/packages/golang-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5cbe8b83fd..d3afae5441 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1157,6 +1157,49 @@ (define-public go-github-com-d4l3k-messagediff
structs in the Go programming language.")
(license license:expat)))
+(define-public go-github-com-d5-tengo-v2
+ (package
+ (name "go-github-com-d5-tengo-v2")
+ (version "2.17.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/d5/tengo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12h7fg2hj9s64hzsv5mz0pl9q1hf1lw3b5k9fr40nfqlq1bw84da"))))
+ (build-system go-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ (list
+ #:import-path "github.com/d5/tengo/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda* (#:key import-path outputs #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (let* ((data (string-append #$output:doc "/share"))
+ (doc (string-append data "/doc/" #$name "-" #$version)))
+ (copy-recursively "docs/" doc))))))))
+ (home-page "https://github.com/d5/tengo")
+ (synopsis "Script language for Go")
+ (description
+ "Tengo is a small, dynamic, fast, secure script language for Go.
+Features:
+@itemize
+@item simple and highly readable syntax
+@item dynamic typing with type coercion
+@item higher-order functions and closures
+@item immutable values
+@item securely embeddable and extensible
+@item compiler/runtime written in native Go (no external deps or cgo)
+@item executable as a standalone language/REPL
+@item use cases: rules engine, state machine, data pipeline, transpiler
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-danwakefield-fnmatch
(let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
(revision "0"))
--
2.41.0
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., (continued)
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 10/26] gnu: Add go-tengo., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 14/26] gnu: Add go-github-com-otiai10-mint., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 22/26] gnu: Add go-atomicgo-dev-keyboard., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 17/26] gnu: Add go-github-com-errata-ai-regexp2., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 24/26] gnu: Add go-github-com-pterm-pterm., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 18/26] gnu: Add go-github-com-jdkato-twine., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 09/26] gnu: Add go-github-com-d5-tengo-v2.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 16/26] gnu: Add go-github-com-neurosnap-sentences., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 23/26] gnu: Add go-github-com-marvinjwendt-testza., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 26/26] gnu: Add go-github-com-nwaples-rardecode-v2., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 20/26] gnu: Add go-atomicgo-dev-cursor., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 25/26] gnu: go-github-com-masterminds-sprig-v3: Update to 3.2.3., Sharlatan Hellseher, 2024/06/30