Subject: [PATCH v6 37/41] gnu: Add go-github-com-nxadm-tail.

From: "(" <[email-masked]>
Date: Thu, 4 Aug 2022 18:10:43 +0100

* gnu/packages/golang.scm (go-github-com-nxadm-tail): 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 873e3c4681..f1ff2e33f9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10903,3 +10903,27 @@ (define-public go-gopkg-in-tomb-v1
                      (("t.Fatalf\\(`Killf\\(\"BO%s")
                       "t.Fatalf(`Killf(\"BO%%s")))))))
     (home-page "https://gopkg.in/tomb.v1")))
+
+(define-public go-github-com-nxadm-tail
+  (package
+    (name "go-github-com-nxadm-tail")
+    (version "1.4.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/nxadm/tail")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1j2gi485fhwdpmyzn42wk62103fclwbfywg42p275z1qv2bsz1rc"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/nxadm/tail"))
+    (propagated-inputs (list go-gopkg-in-tomb-v1
+                             go-github-com-fsnotify-fsnotify))
+    (home-page "https://github.com/nxadm/tail")
+    (synopsis "Go implementation of the functionality of @command{tail -f}")
+    (description
+     "@code{tail} provides a Go library for reading from continuously updating
+files, like the @command{tail -f} command does.")
+    (license license:expat)))
-- 
2.37.1