From 82c63dfe31cc0fc918b11cd3f0f5fa18d0e534f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Nikkil=C3=A4?= Date: Sat, 24 Aug 2024 19:37:06 +0100 Subject: [PATCH] gnu: Add go-github-com-go-openapi-jsonreference. * gnu/packages/golang-web.scm (go-github-com-go-openapi-jsonreference): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I55eb6403fb5b7460d74c7b21a38b85b2194304d8 --- gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 4050a3e370..1b75fb9406 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1399,6 +1399,35 @@ (define-public go-github-com-go-openapi-jsonpointer prototyped in @url{https://github.com/xeipuuv/gojsonpointer}.") (license license:asl2.0))) +(define-public go-github-com-go-openapi-jsonreference + (package + (name "go-github-com-go-openapi-jsonreference") + (version "0.21.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-openapi/jsonreference") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1121cnjjh07qdl4jdrd46kmdhx4dgsxn02rvsq5xzapl8gz5nhcn")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/go-openapi/jsonreference")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-go-openapi-jsonpointer + go-github-com-go-openapi-swag + go-github-com-puerkitobio-purell)) + (home-page "https://github.com/go-openapi/jsonreference") + (synopsis "JSON Reference with structs") + (description + "This package provides an implementation of JSON Reference, initially +prototyped in @url{https://github.com/xeipuuv/gojsonreference}.") + (license license:asl2.0))) + (define-public go-github-com-go-openapi-swag (package (name "go-github-com-go-openapi-swag")