aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-24 12:03:27 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-24 12:13:50 +0200
commitad8d4637400f3120320f8012d12065ab48291f3a (patch)
tree2a1fb976e9f12c0e144aee2aab21867aa9682bfb
parent38d346dcc6ae84bcf17c57989816848051d89028 (diff)
downloadguix-ad8d4637400f3120320f8012d12065ab48291f3a.tar
guix-ad8d4637400f3120320f8012d12065ab48291f3a.tar.gz
gnu: Add go-github-com-cheekybits-is.
* gnu/packages/golang.scm (go-github-com-cheekybits-is): New variable.
-rw-r--r--gnu/packages/golang.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3b354372c6..d1b5c86624 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3149,3 +3149,35 @@ as conversion to and from @command{net.Addr}.")
(synopsis "Tar utilities extracted from go-ipfs codebase")
(description "Tar utilities extracted from @command{go-ipfs} codebase.")
(license license:expat))))
+
+(define-public go-github-com-cheekybits-is
+ (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
+ (revision "0"))
+ (package
+ (name "go-github-com-cheekybits-is")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cheekybits/is.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/cheekybits/is"))
+ (home-page "https://github.com/cheekybits/is")
+ (synopsis "Mini testing helper for Go")
+ (description "A mini testing helper for Go.
+
+@itemize
+@item It has a simple interface (@command{is.OK} and @command{is.Equal}).
+@item It plugs into existing Go toolchain (uses @command{testing.T}).
+@item It's obvious for newcomers.
+@item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
+- because testing panics is ugly.
+@end itemize\n")
+ (license license:expat))))