diff mbox series

[bug#54560,38/47] gnu: Add go-github-com-go-openapi-jsonpointer.

Message ID 20220325133211.5128-38-hello@lnikki.la
State New
Headers show
Series [bug#54560,01/47] gnu: Add go-google-golang-org-protobuf. | expand

Commit Message

Leo Nikkilä March 25, 2022, 1:32 p.m. UTC
* gnu/packages/golang.scm (go-github-com-go-openapi-jsonpointer): New
variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4b54a03c20..c26ac622a6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10158,6 +10158,29 @@  (define-public go-github-com-go-openapi-errors
     (home-page "https://github.com/go-openapi/errors")
     (license license:asl2.0)))
 
+(define-public go-github-com-go-openapi-jsonpointer
+  (package
+    (name "go-github-com-go-openapi-jsonpointer")
+    (version "0.19.5")
+    (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
+                "0azic9nfwywlz4qxvacyi4g668fbbrkcyv15bag02yfcsi8szg5c"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/go-openapi/jsonpointer"))
+    (propagated-inputs (list go-github-com-go-openapi-swag))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (synopsis "Fork of gojsonpointer with support for structs")
+    (description "Fork of gojsonpointer with support for structs.")
+    (home-page "https://github.com/go-openapi/jsonpointer")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-openapi-swag
   (package
     (name "go-github-com-go-openapi-swag")