[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/172: gnu: Add go-github-com-go-openapi-runtime.
From: |
guix-commits |
Subject: |
98/172: gnu: Add go-github-com-go-openapi-runtime. |
Date: |
Tue, 5 Nov 2024 16:05:02 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit ea0121fce7ecd48a96af6baa187e5b1462c4ba07
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Sep 14 23:59:12 2024 +0100
gnu: Add go-github-com-go-openapi-runtime.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-runtime): New
variable.
Change-Id: Iba2b08ba70af9d376bf657e754391ba18efe814d
---
gnu/packages/golang-web.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 586c404eca..3f4cbace78 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1635,6 +1635,66 @@ Initiative,OAI} specification documents from local or
remote locations.
Supports JSON and YAML documents.")
(license license:asl2.0)))
+(define-public go-github-com-go-openapi-runtime
+ (package
+ (name "go-github-com-go-openapi-runtime")
+ (version "0.28.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-openapi/runtime")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0h8yqc6bb8mzb8jvr3m08fyws1gbrhbry6k5vj2cx2xdi50kqiy5"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/go-openapi/runtime"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; TODO: Implement it in go-build-system.
+ ;;
+ ;; This happens due to Golang can't determine the valid directory of
+ ;; the module of embed file which is symlinked during setup
+ ;; environment phase, but easy resolved after coping file from the
+ ;; store to the build directory of the current package, see details
+ ;; in Golang source:
+ ;;
+ ;; - URL: <https://github.com/golang/go/blob/>
+ ;; - commit: 82c14346d89ec0eeca114f9ca0e88516b2cda454
+ ;; - file: src/cmd/go/internal/load/pkg.go#L2059
+ (add-after 'unpack 'fix-embed-files
+ (lambda _
+ (for-each (lambda (file)
+ (let ((file-store-path (readlink file)))
+ (delete-file file)
+ (copy-recursively file-store-path file)))
+ (find-files "src" "\\.json$")))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-docker-go-units
+ go-github-com-go-openapi-analysis
+ go-github-com-go-openapi-errors
+ go-github-com-go-openapi-loads
+ go-github-com-go-openapi-spec
+ go-github-com-go-openapi-strfmt
+ go-github-com-go-openapi-swag
+ go-github-com-go-openapi-validate
+ go-github-com-opentracing-opentracing-go
+ go-go-opentelemetry-io-otel
+ go-go-opentelemetry-io-otel-sdk
+ go-golang-org-x-sync
+ go-gopkg-in-yaml-v3))
+ (home-page "https://github.com/go-openapi/runtime")
+ (synopsis "OpenAPI runtime interfaces")
+ (description
+ "OpenAPI toolkit runtime component for use in code generation or as
+untyped usage.")
+ (license license:asl2.0)))
+
(define-public go-github-com-go-openapi-spec
(package
(name "go-github-com-go-openapi-spec")
- 65/172: gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2., (continued)
- 65/172: gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2., guix-commits, 2024/11/05
- 67/172: gnu: go-github-com-google-goterm: Move to golang-xyz., guix-commits, 2024/11/05
- 68/172: gnu: go-github-com-tomnomnom-gron: Improve package style., guix-commits, 2024/11/05
- 75/172: gnu: go-github-com-google-gopacket: Move to golang-web., guix-commits, 2024/11/05
- 82/172: gnu: go-github-com-go-git-go-git-fixtures-v4: Keep all phases., guix-commits, 2024/11/05
- 76/172: gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0., guix-commits, 2024/11/05
- 77/172: gnu: go-github-com-xeipuuv-gojsonschema: Fix indentation., guix-commits, 2024/11/05
- 81/172: gnu: go-github-com-go-git-go-git-fixtures: Rename variable., guix-commits, 2024/11/05
- 86/172: gnu: go-github-com-go-git-go-billy: Rename variable., guix-commits, 2024/11/05
- 91/172: gnu: Add go-github-com-rs-xid., guix-commits, 2024/11/05
- 98/172: gnu: Add go-github-com-go-openapi-runtime.,
guix-commits <=
- 105/172: gnu: Add go-github-com-circonus-labs-circonus-gometrics., guix-commits, 2024/11/05
- 110/172: gnu: Add go-github-com-xlab-treeprint., guix-commits, 2024/11/05
- 114/172: gnu: Add go-github-com-philhofer-fwd., guix-commits, 2024/11/05
- 113/172: gnu: Add go-github-com-pquerna-ffjson., guix-commits, 2024/11/05
- 112/172: gnu: Add go-github-com-dgryski-go-ddmin., guix-commits, 2024/11/05
- 118/172: gnu: go-github-com-prometheus-common-sigv4: Update to 0.1.0, fix build., guix-commits, 2024/11/05
- 119/172: gnu: soju: Fix build., guix-commits, 2024/11/05
- 125/172: build/go: Replace symlinks with a copy of the file., guix-commits, 2024/11/05
- 129/172: gnu: Add go-github-com-workiva-go-datastructures., guix-commits, 2024/11/05
- 131/172: gnu: go-github-com-aead-chacha20: Update to 0.0.0-20180709150244-8b13a72661da., guix-commits, 2024/11/05