Subject: [bug#54560] [PATCH 07/47] gnu: Add go-github-com-edsrzf-mmap-go.

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

* gnu/packages/golang.scm (go-github-com-edsrzf-mmap-go): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 078cb30cbc..4f55acf1ad 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9842,6 +9842,29 @@ (define-public go-github-com-dennwc-varint
       (home-page "https://github.com/dennwc/varint")
       (license license:expat))))
 
+(define-public go-github-com-edsrzf-mmap-go
+  (package
+    (name "go-github-com-edsrzf-mmap-go")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/edsrzf/mmap-go")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11xpfcacfvmrkbp0pv4j8pg2gyjnxpfp7l93j42h0svwxywhjmrc"))))
+    (build-system go-build-system)
+    (propagated-inputs (list go-golang-org-x-sys))
+    (arguments
+     '(#:import-path "github.com/edsrzf/mmap-go"))
+    (synopsis "Portable mmap package for Go")
+    (description "@code{mmap-go} is a portable mmap package for the Go
+programming language.")
+    (home-page "https://github.com/edsrzf/mmap-go")
+    (license license:bsd-3)))
+
 (define-public go-google-golang-org-protobuf
   (package
     (name "go-google-golang-org-protobuf")
-- 
2.34.0