summary refs log tree commit diff
diff options
context:
space:
mode:
authorRouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>2018-05-28 17:01:57 +0200
committerLeo Famulari <leo@famulari.name>2018-05-29 18:39:08 -0400
commit67836c5956a11de28881416bbb28dc5da97bcc7b (patch)
treee2c968157956f12f07fa717c5361385c33f2d65b
parent7c2ebbd4a6c0f0ad6a02821996aa6b1bb3a84d3d (diff)
downloadguix-67836c5956a11de28881416bbb28dc5da97bcc7b.tar.gz
gnu: Add go-github-com-blang-semver.
* gnu/packages/golang.scm (go-github-com-blang-semver): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/golang.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c3d4575d89..15db43257a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1496,3 +1496,28 @@ optimized for performance yet simple to use.")
       (description "This package provides a library for building command-line
 interfaces in Go.")
       (license license:expat))))
+
+(define-public go-github-com-blang-semver
+  (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
+        (revision "0"))
+    (package
+      (name "go-github-com-blang-semver")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/blang/semver.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/blang/semver"))
+      (home-page "https://github.com/blang/semver")
+      (synopsis "Semantic versioning library written in Go")
+      (description "Semver is a library for Semantic versioning written in Go.")
+      (license license:expat))))
+