guix-commits
[Top][All Lists]
Advanced

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

39/74: gnu: Add go-github-com-mwitkow-go-conntrack.


From: guix-commits
Subject: 39/74: gnu: Add go-github-com-mwitkow-go-conntrack.
Date: Thu, 25 Jul 2024 18:02:26 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit e331cfa3e6c0e38a641de5ecf36e22199cd0341d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jul 24 16:37:03 2024 +0100

    gnu: Add go-github-com-mwitkow-go-conntrack.
    
    * gnu/packages/prometheus.scm (go-github-com-mwitkow-go-conntrack): New 
variable.
    
    Change-Id: I874b96a61ee116fee435e3817d84802fa48eacfe
---
 gnu/packages/prometheus.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 47 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 6ab034c20a..997cf4e503 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -24,7 +24,11 @@
   #:use-module (guix git-download)
   #:use-module (guix 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:
 ;;;
@@ -39,6 +43,48 @@
 ;;; 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
   (package
     (name "go-github-com-prometheus-client-model")



reply via email to

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