Subject: [bug#54560] [PATCH 20/47] gnu: Add go-github-com-opentracing-contrib-go-stdlib.

From: Leo Nikkilä <[email-masked]>
Date: Fri, 25 Mar 2022 15:31:44 +0200

* gnu/packages/golang.scm (go-github-com-opentracing-contrib-go-stdlib):
New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c84f3b499c..7504f5637e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1258,6 +1258,30 @@ (define-public go-github-com-mufti1-interconv
       (description "InterConv converts interfaces into any data type.")
       (license license:expat))))
 
+(define-public go-github-com-opentracing-contrib-go-stdlib
+  (package
+    (name "go-github-com-opentracing-contrib-go-stdlib")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/opentracing-contrib/go-stdlib")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ssnfhbpljxy2v3nsw9aqmh7xlky49dpfwj275aj0b576w46ys6m"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/opentracing-contrib/go-stdlib/nethttp"
+       #:unpack-path "github.com/opentracing-contrib/go-stdlib"))
+    (propagated-inputs (list go-github-com-opentracing-opentracing-go))
+    (home-page "https://github.com/opentracing-contrib/go-stdlib")
+    (synopsis "OpenTracing instrumentation for packages in the Go stdlib")
+    (description "This repository contains OpenTracing instrumentation
+for packages in the Go standard library.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-opentracing-opentracing-go
   (package
     (name "go-github-com-opentracing-opentracing-go")
-- 
2.34.0