gnu: Add go-github-com-adhocore-gronx.

* gnu/packages/golang-xyz.scm (go-github-com-adhocore-gronx,
go-gronx-tasker): New variables.

Change-Id: Iaff06bace5b754862665395297110fc07e1e0b31
This commit is contained in:
Sharlatan Hellseher 2025-07-07 12:37:25 +01:00
parent 8aa4bef49c
commit 9811bb05f1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -712,6 +712,32 @@ scripts (writing systems). Languages are represented by a defined list of
constants, while scripts are represented by RangeTable.")
(license license:expat)))
(define-public go-github-com-adhocore-gronx
(package
(name "go-github-com-adhocore-gronx")
(version "1.19.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/adhocore/gronx")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0i1q3gy35h8gz0kr93419jnhfwsky0p40i1x8nfz4bpyfh2jxlvd"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/adhocore/gronx"))
(home-page "https://github.com/adhocore/gronx")
(synopsis "Cron expression parser for Golang")
(description
"@code{gronx} is cron expression parser ported from
@url{https://github.com/adhocore/php-cron-expr, adhocore/cron-expr} with task
runner and daemon that supports crontab like task list file. It may be used
programatically in Golang or as standalone binary instead of crond.")
(license license:expat)))
(define-public go-github-com-adrg-strutil
(package
(name "go-github-com-adrg-strutil")
@ -21465,6 +21491,22 @@ tools."))))
"\nThis package provides an command line interface (CLI)
tool."))))
(define-public go-gronx-tasker
(package/inherit go-github-com-adhocore-gronx
(name "go-gronx-tasker")
(arguments
(substitute-keyword-arguments
(package-arguments go-github-com-adhocore-gronx)
((#:tests? _ #t) #f)
((#:install-source? _ #t) #f)
((#:skip-build? _ #t) #f)
((#:import-path _) "github.com/adhocore/gronx/cmd/tasker")
((#:unpack-path _ "") "github.com/adhocore/gronx")))
(native-inputs
(package-propagated-inputs go-github-com-adhocore-gronx))
(propagated-inputs '())
(inputs '())))
(define-public go-toml
(package
(inherit go-github-com-pelletier-go-toml-v2)