Subject: [PATCH 28/33] gnu: Add go-github-com-inconshreveable-mousetrap.

From: Edouard Klein <[email-masked]>
Date: Thu, 14 Sep 2023 09:29:41 +0200

* gnu/packages/golang.scm (go-github-com-inconshreveable-mousetrap): New variable.
---
 gnu/packages/golang.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1c5a72a0ac..873afbf7dd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13768,6 +13768,27 @@ (define-public go-github-com-shurcool-go-importgraphutil
     (description "Common Go code.")
     (license license:expat)))
 
+(define-public go-github-com-inconshreveable-mousetrap
+  (package
+    (name "go-github-com-inconshreveable-mousetrap")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/inconshreveable/mousetrap")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14gjpvwgx3hmbd92jlwafgibiak2jqp25rq4q50cq89w8wgmhsax"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/inconshreveable/mousetrap"))
+    (home-page "https://github.com/inconshreveable/mousetrap")
+    (synopsis "mousetrap")
+    (description "mousetrap is a tiny library that answers a single question.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-vishvananda-netlink
   (package
     (name "go-github-com-vishvananda-netlink")
-- 
2.40.1