guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ce3a30102dcb7f4f02a1a98f7512ce05179bb900
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Dec 5 19:20:56 2025 +0100

    gnu: Add go-github-com-paesslerag-gval.
    
    * gnu/packages/golang-xyz.scm (go-github-com-paesslerag-gval): New variable.
    
    Change-Id: I2b210655ad51d37488977662c328ef9debb1fd2b
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c6347b8907..c9c27d0a97 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -19022,6 +19022,40 @@ throughput and hit ratio performance.  It's a fork of
 @code{dgraph-io/ristretto} project.")
     (license license:asl2.0)))
 
+(define-public go-github-com-paesslerag-gval
+  (package
+    (name "go-github-com-paesslerag-gval")
+    (version "1.2.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/PaesslerAG/gval";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "006my38wxv4kmhlbmbps01r7gbkq2a80a4h7hdcni3cjbn6zspps"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/PaesslerAG/gval"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (delete-file-recursively "example_test.go")))))))
+    (propagated-inputs
+     (list go-github-com-shopspring-decimal))
+    (home-page "https://github.com/PaesslerAG/gval";)
+    (synopsis "Expression evaluation library for Go")
+    (description
+     "Gval is a highly customizable expression language library for Go.  It can
+evaluate expressions at runtime with support for logical operators, arithmetic,
+function calls, and custom operators.  It's useful for configuration files,
+user-defined rules, and data filtering.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-panjf2000-ants-v2
   (package
     (name "go-github-com-panjf2000-ants-v2")

Reply via email to