gnu: Add go-github-com-stretchr-objx.
authorJakub Kądziołka <kuba@kadziolka.net>
Fri, 22 May 2020 14:58:15 +0000 (16:58 +0200)
committerJakub Kądziołka <kuba@kadziolka.net>
Sun, 7 Jun 2020 20:10:31 +0000 (22:10 +0200)
* gnu/packages/golang.scm (go-github-com-stretchr-objx): New variable.

gnu/packages/golang.scm

index ae0b7c6..ca06790 100644 (file)
@@ -917,6 +917,29 @@ increment versions.")
 Go.")
       (license license:expat))))
 
+(define-public go-github-com-stretchr-objx
+  (package
+    (name "go-github-com-stretchr-objx")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/stretchr/objx.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/stretchr/objx"))
+    (home-page "https://github.com/stretchr/objx")
+    (synopsis "Go package for dealing with maps, slices, JSON and other data")
+    (description "This package provides a Go library for dealing with maps,
+slices, JSON and other data.")
+    (license license:expat)))
+
 (define-public go-github-com-stretchr-testify
   (let ((commit
           "b1f989447a57594c728884458a39abf3a73447f7")