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>
This commit is contained in:
Rouby Pierre-Antoine 2018-05-28 17:02:40 +02:00 committed by Leo Famulari
parent 67836c5956
commit 7979f7df9a
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 25 additions and 0 deletions

View File

@ -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))))