Subject: [bug#72594] [PATCH 4/7] gnu: Add go-github-com-mohae-deepcopy.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Mon, 12 Aug 2024 20:26:26 +0300

* gnu/packages/golang.scm (go-github-com-mohae-deepcopy): New variable.

Change-Id: I29dd0f9c61197e2030bd720bf0ec71c86727f976
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 82d9616b71..8208c79675 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4085,6 +4085,30 @@ (define-public go-github-com-matrix-org-gomatrix
     (description "This package provides a Golang Matrix client.")
     (license license:asl2.0)))
 
+(define-public go-github-com-mohae-deepcopy
+  (package
+    (name "go-github-com-mohae-deepcopy")
+    (version "0.0.0-20170308212314-bb9b5e7adda9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mohae/deepcopy")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "173j05wv4yy8jh9ccjw46xfy1knxwvv1ir6b8l6g9pc5j5damm1f"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/mohae/deepcopy"))
+    (home-page "https://github.com/mohae/deepcopy")
+    (synopsis "Deep copy things")
+    (description
+     "@code{deepcopy} makes deep copies of things: unexported field
+values are not copied.")
+    (license license:expat)))
+
 (define-public go-github-com-aarzilli-golua
   (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
         (revision "0"))
-- 
2.45.2