gnu: Add go-github-com-robfig-cron.

* gnu/packages/golang.scm (go-github-com-robfig-cron): New variable.
This commit is contained in:
Arun Isaac 2019-08-19 17:27:17 +05:30
parent b0985c60a0
commit e30bdd49a5
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -15,6 +15,7 @@
;;; Copyright @ 2018, 2019 Katherine Cox-Buday <cox.katherine.e@gmail.com> ;;; Copyright @ 2018, 2019 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu> ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com> ;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -3640,3 +3641,26 @@ (define-public go-github-com-maruel-panicparse
and aid debugging.") and aid debugging.")
(home-page "https://github.com/maruel/panicparse") (home-page "https://github.com/maruel/panicparse")
(license license:asl2.0))) (license license:asl2.0)))
(define-public go-github-com-robfig-cron
(package
(name "go-github-com-robfig-cron")
(version "3.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/robfig/cron")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0bvq5gxkhyj21lq32nma23i4dpwp7bswnp2yks6372ilkcyisx2z"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/robfig/cron"))
(home-page "https://godoc.org/github.com/robfig/cron")
(synopsis "Cron library for Go")
(description "This package provides a cron library for Go. It implements
a cron spec parser and job runner.")
(license license:expat)))