guix-commits
[Top][All Lists]
Advanced

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

146/172: gnu: Add go-github-com-prometheus-community-pro-bing.


From: guix-commits
Subject: 146/172: gnu: Add go-github-com-prometheus-community-pro-bing.
Date: Sat, 9 Nov 2024 16:45:10 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 14f80884f79ffe01ffb80704b6add1ee1bfb949c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 22 21:13:05 2024 +0100

    gnu: Add go-github-com-prometheus-community-pro-bing.
    
    * gnu/packages/prometheus.scm 
(go-github-com-prometheus-community-pro-bing): New variable.
    
    Change-Id: Ifc536d497396b02671ff44f4845c43dfba893d4d
---
 gnu/packages/prometheus.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 3e3a51b805..c498c27030 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -366,6 +366,39 @@ using Amazon's Signature Verification V4 signing 
procedure, using credentials
 from the default AWS credential chain.")
     (license license:asl2.0)))
 
+(define-public go-github-com-prometheus-community-pro-bing
+  (package
+    (name "go-github-com-prometheus-community-pro-bing")
+    (version "0.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/prometheus-community/pro-bing";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1yz4cf1qrm1jrzw2yd5p08663hynk4ihlf5mi2fn6irnzh343a7b"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      ;; Tests requiring network setup.
+      #:test-flags
+      #~(list "-skip" (string-append "TestNewPingerValid"
+                                     "|TestSetIPAddr"
+                                     "|TestSetResolveTimeout"))
+      #:import-path "github.com/prometheus-community/pro-bing"))
+    (propagated-inputs
+     (list go-github-com-google-uuid
+           go-golang-org-x-net
+           go-golang-org-x-sync))
+    (home-page "https://github.com/prometheus-community/pro-bing";)
+    (synopsis "Continuous probers Golang library")
+    (description
+     "This package implements @acronym{Internet Control Message
+Protocol,ICMP} echo (ping) functionality.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-exporter-toolkit
   (package
     (name "go-github-com-prometheus-exporter-toolkit")



reply via email to

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