@@ -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"))