GNU bug report logs - #54560
[PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Fri, 25 Mar 2022 08:11:02 UTC

Severity: normal

Tags: patch

Full log


Message #80 received at 54560 <at> debbugs.gnu.org (full text, mbox):

From: Leo Nikkilä <hello <at> lnikki.la>
To: 54560 <at> debbugs.gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH 25/47] gnu: Add go-github-com-shurcool-vfsgen.
Date: Fri, 25 Mar 2022 15:31:49 +0200
* gnu/packages/golang.scm (go-github-com-shurcool-vfsgen): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 416f1b1f86..da399aaafd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5494,6 +5494,35 @@ (define-public go-github-com-shurcool-sanitized-anchor-name
 anchor names.")
     (license license:expat)))
 
+(define-public go-github-com-shurcool-vfsgen
+  (let ((commit "0d455de96546f756e8830efeec8dab0f489af135")
+        (revision "0"))
+    (package
+      (name "go-github-com-shurcool-vfsgen")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/shurcooL/vfsgen")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0md1vgaq95x1jmxpnsfv6s9xf3v8gqi7lcl7mkxpf6274rf1n2pk"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/shurcooL/vfsgen"))
+      (propagated-inputs (list go-github-com-shurcool-httpfs))
+      (native-inputs (list go-github-com-shurcool-httpgzip
+                           go-golang-org-x-tools))
+      (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}.")
+      (home-page "https://github.com/shurcooL/vfsgen")
+      (license license:expat))))
+
 (define-public go-github-com-pmezard-go-difflib
   (package
     (name "go-github-com-pmezard-go-difflib")
-- 
2.34.0





This bug report was last modified 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.