guix-patches
[Top][All Lists]
Advanced

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

[bug#31625] [PATCH 3/6] gnu: Add go-github-com-emicklei-go-restful.


From: Rouby Pierre-Antoine
Subject: [bug#31625] [PATCH 3/6] gnu: Add go-github-com-emicklei-go-restful.
Date: Mon, 28 May 2018 17:02:40 +0200

* gnu/packages/golang.scm (go-github-com-emicklei-go-restful): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d232e3040..ee460c030 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1526,3 +1526,27 @@ golang")
 golang.")
       (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 "Package for building rest-style web services using Golang")
+      (description "Rest asks developpers to use @code{http} methods
+explicitly and in a way that's consistent with the protocol definition.")
+      (license license:expat))))
-- 
2.17.0






reply via email to

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