guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: Add go-github-com-gorhill-cronexpr.


From: Ludovic Courtès
Subject: 05/11: gnu: Add go-github-com-gorhill-cronexpr.
Date: Thu, 12 Jul 2018 18:09:48 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d850e7a0b7c0f35dc3ef39187e9f15c51723bd31
Author: Rouby Pierre-Antoine <address@hidden>
Date:   Tue Jul 10 18:06:07 2018 +0200

    gnu: Add go-github-com-gorhill-cronexpr.
    
    * gnu/packages/golang.scm (go-github-com-gorhill-cronexpr): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a5e61b4..bcd524d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1894,3 +1894,31 @@ translation (NAT), proxies, sockets, and transport layer 
security (TLS).")
 hosting providers, and inside your data center.  It creates servers, installs
 Docker on them, then configures the Docker client to talk to them.")
       (license license:asl2.0))))
+
+(define-public go-github-com-gorhill-cronexpr
+  (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
+        (revision "0"))
+    (package
+      (name "go-github-com-gorhill-cronexpr")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/gorhill/cronexpr.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/gorhill/cronexpr"))
+      (home-page "https://github.com/gorhill/cronexpr";)
+      (synopsis "Cron expression parser in the Go language")
+      (description
+       "This package provides a cron expression parser in the Go language.
+Given a cron expression and a time stamp, you can get the next time stamp
+which satisfies the cron expression.")
+      (license (list license:gpl3+
+                     license:asl2.0)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]