summary refs log tree commit diff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorRouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>2018-05-28 17:02:40 +0200
committerLeo Famulari <leo@famulari.name>2018-05-29 18:39:08 -0400
commit7979f7df9a6dc846295d1861229cee11483b373c (patch)
tree0feec5d1e66cc62aab8e2054af9b63c7f440323f /gnu/packages/golang.scm
parent67836c5956a11de28881416bbb28dc5da97bcc7b (diff)
downloadguix-7979f7df9a6dc846295d1861229cee11483b373c.tar.gz
gnu: Add go-github-com-emicklei-go-restful.
* gnu/packages/golang.scm (go-github-com-emicklei-go-restful): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/golang.scm')
-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 15db43257a..12adbff007 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1521,3 +1521,28 @@ interfaces in Go.")
       (description "Semver is a library for Semantic versioning written in Go.")
       (license license:expat))))
 
+(define-public go-github-com-emicklei-go-restful
+  (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
+        (revision "0"))
+    (package
+      (name "go-github-com-emicklei-go-restful")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emicklei/go-restful.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/emicklei/go-restful"))
+      (home-page "https://github.com/emicklei/go-restful")
+      (synopsis "Build REST-style web services using Go")
+      (description "This package provides @code{go-restful}, which helps
+developers to use @code{http} methods explicitly and in a way that's consistent
+with the HTTP protocol definition.")
+      (license license:expat))))