gnu: Add go-github-com-danielgtaylor-mexpr.

* gnu/packages/golang-xyz.scm (go-github-com-danielgtaylor-mexpr): New variable.

Change-Id: I8dea2187882c0adaec7c9974a64c9f6ea78b45ea
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Aleksandr Lebedev 2025-11-05 10:39:39 +01:00 committed by Sharlatan Hellseher
parent 912deb0989
commit 2880ca0d34
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5551,6 +5551,33 @@ credentials as well as Go structures for convenient access to the credential
data.")
(license license:expat)))
(define-public go-github-com-danielgtaylor-mexpr
(package
(name "go-github-com-danielgtaylor-mexpr")
(version "1.9.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/danielgtaylor/mexpr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kiya25njhy5k9jpk79dz07bwzl33x19mjl4h1sjmdh98aw41z3r"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/danielgtaylor/mexpr"
#:test-flags
#~(list "-vet=off"))) ;Go@1.24 forces vet, but tests are not ready yet.
(home-page "https://github.com/danielgtaylor/mexpr")
(synopsis " Micro expression parser library for Golang")
(description
"Package mexpr provides a simple expression parser, originally built
for use in templating languages (e.g. for-loop variable selection,
if-statement evaluation) so is minimal in what it supports by design.")
(license license:expat)))
(define-public go-github-com-dannav-hhmmss
(package
(name "go-github-com-dannav-hhmmss")