[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context.
From: |
Raghav Gururajan |
Subject: |
[bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context. |
Date: |
Thu, 3 Jun 2021 06:44:46 -0400 |
* gnu/packages/golang.scm (go-github-com-getlantern-context): New variable.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9c182bba3c..7ccb085587 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-getlantern-context
+ (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e")
+ (revision "30"))
+ (package
+ (name "go-github-com-getlantern-context")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/getlantern/context")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08s1m1pqkwppvvc6biccyxs7wqzmgjyhyqdgfzwm9vp0c6vzr2sg"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/getlantern/context"))
+ (native-inputs
+ `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+ (synopsis "Goroutine-based Context State")
+ (description "This package provides a stack abstraction that allows
nested
+contexts similar to jtolds' library, but using Enter() and Exit() instead of
+callback functions.")
+ (home-page "https://github.com/getlantern/context")
+ (license license:asl2.0))))
+
(define-public go-github-com-burntsushi-xgbutil
(let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee")
(revision "335"))
--
2.31.1
- [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context.,
Raghav Gururajan <=
- [bug#48729] [PATCH v2 28/47] gnu: Add go-github-com-getlantern-hex., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 29/47] gnu: Add go-github-com-getlantern-hidden., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 27/47] gnu: Add go-github-com-getlantern-ops., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 32/47] gnu: Add go-github-com-oxtoacart-bpool., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 36/47] gnu: Add go-github-com-jmshal-go-locale., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 35/47] gnu: Add go-github-com-gotk3-gotk3., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 34/47] gnu: Add go-github-com-getlantern-systray., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 30/47] gnu: Add go-github-com-go-stack-stack., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 31/47] gnu: Add go-github-com-getlantern-errors., Raghav Gururajan, 2021/06/03
- [bug#48729] [PATCH v2 33/47] gnu: Add go-github-com-getlantern-golog., Raghav Gururajan, 2021/06/03