From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcvAO-0000FF-To for guix-patches@gnu.org; Tue, 10 Jul 2018 12:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcvAM-0005Cd-Gs for guix-patches@gnu.org; Tue, 10 Jul 2018 12:07:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcvAM-0005CX-D0 for guix-patches@gnu.org; Tue, 10 Jul 2018 12:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcvAM-0000Zi-6Y for guix-patches@gnu.org; Tue, 10 Jul 2018 12:07:02 -0400 Subject: [bug#32113] [PATCH 3/5] gnu: Add go-github-com-gorhill-cronexpr. Resent-Message-ID: From: Rouby Pierre-Antoine Date: Tue, 10 Jul 2018 18:06:07 +0200 Message-Id: <20180710160609.30540-2-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180710160609.30540-1-pierre-antoine.rouby@inria.fr> References: <20180710160609.30540-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32113@debbugs.gnu.org Cc: Rouby Pierre-Antoine * gnu/packages/golang.scm (go-github-com-gorhill-cronexpr): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 515d99785..588fb8572 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1890,3 +1890,29 @@ connections in Go langage.") (synopsis "Machine management for a container-centric world") (description "Lets you create Docker hosts on your computer.") (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 Go language") + (description "This package is cron expression parser in Go language. +Given a cron expression and a time stamp.") + (license (list license:gpl3+ + license:asl2.0))))) -- 2.17.0