unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
To: 31463@debbugs.gnu.org
Cc: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
Subject: [bug#31463] [PATCH 3/6] gnu: Add go-github-com-hashicorp-go-version.
Date: Tue, 15 May 2018 15:24:08 +0200	[thread overview]
Message-ID: <20180515132408.969-1-pierre-antoine.rouby@inria.fr> (raw)
In-Reply-To: <20180515130920.850-1-pierre-antoine.rouby@inria.fr>

* gnu/packages/golang.scm (go-github-com-hashicorp-go-version): New variable.
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3f67a6316..32c726ece 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1355,3 +1355,33 @@ package.")
       (description "This package is Go client API for the Sentry event/error
 logging system.")
       (license license:bsd-3))))
+
+(define-public go-github-com-hashicorp-go-version
+  (let ((commit
+         "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
+        (revision "0"))
+    (package
+      (name "go-github-com-hashicorp-go-version")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/hashicorp/go-version.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/hashicorp/go-version"))
+      (home-page
+       "https://github.com/hashicorp/go-version")
+      (synopsis "Go library for parsing and verifying versions and version
+constraints")
+      (description "This package is a library for parsing versions and version
+constraints, and verifying versions against a set of constraints.  It can sort
+a collection of versions properly, handles prerelease/beta versions, can
+increment versions.")
+      (license license:mpl2.0))))
-- 
2.17.0

  parent reply	other threads:[~2018-05-15 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15 13:09 [bug#31463] [PATCH 1/6] gnu: Add go-github-com-burntsushi-toml Rouby Pierre-Antoine
2018-05-15 13:23 ` [bug#31463] [PATCH 2/6] gnu: Add go-github-com-getsentry-raven-go Rouby Pierre-Antoine
2018-05-15 13:24 ` Rouby Pierre-Antoine [this message]
2018-05-15 13:24 ` [bug#31463] [PATCH 4/6] gnu: Add go-github-com-jpillora-backoff Rouby Pierre-Antoine
2018-05-15 13:25 ` [bug#31463] [PATCH 5/6] gnu: Add go-github-com-stretchr-testify Rouby Pierre-Antoine
2018-05-15 13:25 ` [bug#31463] [PATCH 6/6] gnu: Add go-github-com-tevino-abool Rouby Pierre-Antoine
2018-05-23 11:52 ` bug#31463: [PATCH 1/6] gnu: Add go-github-com-burntsushi-toml Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180515132408.969-1-pierre-antoine.rouby@inria.fr \
    --to=pierre-antoine.rouby@inria.fr \
    --cc=31463@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).