From 48f7e826d2a688966ce39019279d3e30ca5018a7 Mon Sep 17 00:00:00 2001 From: Leo Nikkilä Date: Wed, 21 Aug 2024 21:50:48 +0100 Subject: gnu: Add go-github-com-shurcool-vfsgen. * gnu/packages/golang-web.scm (go-github-com-shurcool-vfsgen): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I7f89b17c4950b68147922fac0fea49fa527a9172 --- gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index b7a1b71d0b..8f00b0e351 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -3670,6 +3670,35 @@ interface.") use gzip compression when serving HTTP requests.") (license license:expat))) +(define-public go-github-com-shurcool-vfsgen + (package + (name "go-github-com-shurcool-vfsgen") + (version "0.0.0-20230704071429-0000e147ea92") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shurcooL/vfsgen") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ypfdiv56ckb0yc7mccc2l8vc3gmfws2p7bcf9f0j415m7r0aq6q")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/shurcooL/vfsgen")) + (native-inputs + (list go-golang-org-x-tools)) + (propagated-inputs + (list go-github-com-shurcool-httpfs)) + (home-page "https://github.com/shurcooL/vfsgen") + (synopsis "Generate Go code from an @code{http.FileSystem}") + (description + "Package @code{vfsgen} takes an @code{http.FileSystem} (likely at +@code{go generate} time) and generates Go code that statically implements the +provided @code{http.FileSystem}.") + (license license:expat))) + (define-public go-github-com-sourcegraph-jsonrpc2 (package (name "go-github-com-sourcegraph-jsonrpc2") -- cgit v1.2.3