mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add go-github-com-mwitkow-go-conntrack.
* gnu/packages/prometheus.scm (go-github-com-mwitkow-go-conntrack): New variable. Change-Id: I874b96a61ee116fee435e3817d84802fa48eacfe
This commit is contained in:
parent
c8e9ee9c47
commit
e331cfa3e6
1 changed files with 47 additions and 1 deletions
|
@ -24,7 +24,11 @@ (define-module (gnu packages prometheus)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages golang-build))
|
#:use-module (gnu packages golang)
|
||||||
|
#:use-module (gnu packages golang-build)
|
||||||
|
#:use-module (gnu packages golang-check)
|
||||||
|
#:use-module (gnu packages golang-web)
|
||||||
|
#:use-module (gnu packages golang-xyz))
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;;
|
;;;
|
||||||
|
@ -39,6 +43,48 @@ (define-module (gnu packages prometheus)
|
||||||
;;; Libraries:
|
;;; Libraries:
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
|
(define-public go-github-com-mwitkow-go-conntrack
|
||||||
|
(package
|
||||||
|
(name "go-github-com-mwitkow-go-conntrack")
|
||||||
|
(version "0.0.0-20190716064945-2f068394615f")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/mwitkow/go-conntrack")
|
||||||
|
(commit (go-version->git-ref version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0ymjmy12ks7smgwmrwsa5kf07d9w5kpk1dn650azlzr61b561aw7"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f
|
||||||
|
#:import-path "github.com/mwitkow/go-conntrack"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; Breaking cycle:
|
||||||
|
;; go-github-com-prometheus-common ->
|
||||||
|
;; go-github-com-prometheus-client-golang ->
|
||||||
|
;; go-github-com-mwitkow-go-conntrack ->
|
||||||
|
;; go-github-com-prometheus-common
|
||||||
|
(delete 'build))))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-jpillora-backoff
|
||||||
|
go-github-com-munnerz-goautoneg
|
||||||
|
;; go-github-com-prometheus-client-golang
|
||||||
|
go-golang-org-x-net))
|
||||||
|
(home-page "https://github.com/mwitkow/go-conntrack")
|
||||||
|
(synopsis "Go middleware for @code{net.Conn} tracking")
|
||||||
|
(description
|
||||||
|
"@url{https://prometheus.io/,Prometheus} monitoring and
|
||||||
|
@url{https://godoc.org/golang.org/x/net/trace#@code{EventLog,(code}
|
||||||
|
x/net/trace)} tracing wrappers @code{net.Conn}, both inbound
|
||||||
|
(@@code{net.Listener}) and outbound (@@code{net.Dialer}).")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public go-github-com-prometheus-client-model
|
(define-public go-github-com-prometheus-client-model
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-prometheus-client-model")
|
(name "go-github-com-prometheus-client-model")
|
||||||
|
|
Loading…
Reference in a new issue