diff mbox series

[bug#48729,v3,33/47] gnu: Add go-github-com-getlantern-golog.

Message ID 20210609170022.8207-33-rg@raghavgururajan.name
State New
Headers show
Series None | expand

Commit Message

Raghav Gururajan June 9, 2021, 5 p.m. UTC
* gnu/packages/golang.scm (go-github-com-getlantern-golog): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index eaca6b9351..3e7366f60f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,41 @@ 
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-golog
+  (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab")
+        (revision "25"))
+    (package
+      (name "go-github-com-getlantern-golog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/golog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0pqmvjqh5lv5ldc93srvlq9nwianxyjfvmjzxx4xmncbxgqsxgli"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/golog"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (propagated-inputs
+       `(("go-github-com-getlantern-errors"
+          ,go-github-com-getlantern-errors)
+         ("go-github-com-getlantern-hidden"
+          ,go-github-com-getlantern-hidden)
+         ("go-github-com-getlantern-ops"
+          ,go-github-com-getlantern-ops)
+         ("go-github-com-oxtoacart-bpool"
+          ,go-github-com-oxtoacart-bpool)))
+      (synopsis "Basic logging for Go")
+      (description "GoLog provides logging used in many getlantern components.")
+      (home-page "https://github.com/getlantern/golog")
+      (license license:asl2.0))))
+
 (define-public go-github-com-oxtoacart-bpool
   (let ((commit "03653db5a59cd88b481403d312d7c324b56af377")
         (revision "18"))