diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-07 12:37:25 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-22 20:13:01 +0100 |
commit | 9811bb05f198fa221941dd49b1a92b5b2c99e4a3 (patch) | |
tree | 856bf8af02aee4ad4189ef8ae5640d5de577ccf9 /gnu/packages/golang-xyz.scm | |
parent | 8aa4bef49cf551f08fe5163c6dd78ed51848f61d (diff) |
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
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index d27d01621d..411b9d8e1c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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) |