@@ -69,6 +69,39 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-getlantern-errors
+ (package
+ (name "go-github-com-getlantern-errors")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/getlantern/errors")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ymz5nb9dplrim9sgfb523iqx1x08bxvbv9383ry2zbsfgqkc966"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/getlantern/errors"))
+ (native-inputs
+ `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+ (propagated-inputs
+ `(("go-github-com-getlantern-context"
+ ,go-github-com-getlantern-context)
+ ("go-github-com-getlantern-hidden"
+ ,go-github-com-getlantern-hidden)
+ ("go-github-com-getlantern-ops"
+ ,go-github-com-getlantern-ops)
+ ("go-github-com-go-stack-stack"
+ ,go-github-com-go-stack-stack)))
+ (home-page "https://github.com/getlantern/errors")
+ (synopsis "Structured errors for Go")
+ (description "Structured errors for Go.")
+ (license license:asl2.0)))
+
(define-public go-github-com-go-stack-stack
(package
(name "go-github-com-go-stack-stack")