gnu: Add go-github-com-felixge-httpsnoop.
* gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>master
parent
836428c793
commit
33504d4d70
|
@ -22,6 +22,7 @@
|
||||||
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
|
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
|
||||||
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
|
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
|
||||||
|
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1522,6 +1523,31 @@ GNU extensions} to the POSIX recommendations for command-line options.")
|
||||||
all types of configuration needs and formats.")
|
all types of configuration needs and formats.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-felixge-httpsnoop
|
||||||
|
(package
|
||||||
|
(name "go-github-com-felixge-httpsnoop")
|
||||||
|
(version "1.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/felixge/httpsnoop")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/felixge/httpsnoop"))
|
||||||
|
(home-page "https://github.com/felixge/httpsnoop/")
|
||||||
|
(synopsis "Capture http related metrics")
|
||||||
|
(description
|
||||||
|
"Httpsnoop provides an easy way to capture http related
|
||||||
|
metrics (i.e. response time, bytes written, and http status code) from your
|
||||||
|
application's http.Handlers.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-fsnotify-fsnotify
|
(define-public go-github-com-fsnotify-fsnotify
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-fsnotify-fsnotify")
|
(name "go-github-com-fsnotify-fsnotify")
|
||||||
|
|
Reference in New Issue