summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Nikkilä <hello@lnikki.la>2024-08-24 16:46:00 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-08-25 20:46:47 +0100
commitb7aec88a8f560e3c934b6c1c882277d7886b8dd4 (patch)
tree0f89a065e2bdfe84fae7e19b1583ab9872e4eea9
parenta2a8a7ec7061250171759bb8bdfcdb62a6661e10 (diff)
downloadguix-b7aec88a8f560e3c934b6c1c882277d7886b8dd4.tar.gz
gnu: Add go-github-com-go-openapi-jsonpointer.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-jsonpointer):
New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I85a2342fa9740fa68ad52c6391465d30a284986d
-rw-r--r--gnu/packages/golang-web.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c30a4dff34..4050a3e370 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1371,6 +1371,34 @@ language.")
 found in the go-openapi toolkit.")
     (license license:asl2.0)))
 
+(define-public go-github-com-go-openapi-jsonpointer
+  (package
+    (name "go-github-com-go-openapi-jsonpointer")
+    (version "0.21.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/go-openapi/jsonpointer")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17gb0ab2r61j4gqbpwgpz6cvf9jy91xwn11gkbg3b1rq797if7vc"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/go-openapi/jsonpointer"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-go-openapi-swag))
+    (home-page "https://github.com/go-openapi/jsonpointer")
+    (synopsis "JSON Pointer with structs")
+    (description
+     "This package provides an implementation of JSON Pointer, initially
+prototyped in @url{https://github.com/xeipuuv/gojsonpointer}.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-openapi-swag
   (package
     (name "go-github-com-go-openapi-swag")