unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Leo Nikkilä" <hello@lnikki.la>
To: 54560@debbugs.gnu.org
Cc: "Leo Nikkilä" <hello@lnikki.la>
Subject: [bug#54560] [PATCH 24/47] gnu: Add go-github-com-shurcool-httpfs.
Date: Fri, 25 Mar 2022 15:31:48 +0200	[thread overview]
Message-ID: <20220325133211.5128-24-hello@lnikki.la> (raw)
In-Reply-To: <20220325133211.5128-1-hello@lnikki.la>

* gnu/packages/golang.scm (go-github-com-shurcool-httpfs): New variable.
---
 gnu/packages/golang.scm | 57 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 775d1c274b..416f1b1f86 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5386,6 +5386,63 @@ (define-public go-github-com-russross-blackfriday
     (description "Blackfriday is a Markdown processor in Go.")
     (license license:bsd-2)))
 
+(define-public go-github-com-shurcool-httpfs
+  (let ((commit "8d4bc4ba774931155e6cd5ef6098cb038dd45135")
+        (revision "0"))
+    (package
+      (name "go-github-com-shurcool-httpfs")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/shurcooL/httpfs")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0qjkbjnp86kjr7r0xjwp39blnk1ggkzy6zm3xphr5dpin4jkgfa1"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:unpack-path "github.com/shurcooL/httpfs"
+         #:phases
+         (let ((paths '("github.com/shurcooL/httpfs/filter"
+                        "github.com/shurcooL/httpfs/html/vfstemplate"
+                        "github.com/shurcooL/httpfs/httputil"
+                        "github.com/shurcooL/httpfs/path/vfspath"
+                        "github.com/shurcooL/httpfs/text/vfstemplate"
+                        "github.com/shurcooL/httpfs/union"
+                        "github.com/shurcooL/httpfs/vfsutil")))
+           (modify-phases %standard-phases
+             (replace 'build
+               (lambda args
+                 (for-each (lambda (path)
+                             (apply (assoc-ref %standard-phases
+                                               'build)
+                                    `(,@args #:import-path
+                                      ,path))) paths)))
+             (replace 'check
+               (lambda args
+                 (for-each (lambda (path)
+                             (apply (assoc-ref %standard-phases
+                                               'check)
+                                    `(,@args #:import-path
+                                      ,path))) paths)))
+             (replace 'install
+               (lambda args
+                 (for-each (lambda (path)
+                             (apply (assoc-ref %standard-phases
+                                               'install)
+                                    `(,@args #:import-path
+                                      ,path))) paths)))))))
+      (propagated-inputs (list go-github-com-shurcool-httpgzip))
+      (native-inputs (list go-golang-org-x-tools))
+      (synopsis "Collection of Go packages for working with the
+@code{http.FileSystem} interface")
+      (description "Collection of Go packages for working with the
+@code{http.FileSystem} interface.")
+      (home-page "https://github.com/shurcooL/httpfs")
+      (license license:expat))))
+
 (define-public go-github-com-shurcool-httpgzip
   (let ((commit "320755c1c1b0484e6179c9a5b68aabcc0dae5ac2")
         (revision "0"))
-- 
2.34.0





  parent reply	other threads:[~2022-03-25 14:13 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25  5:55 [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus Leo Nikkilä
2022-03-25 13:31 ` [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 02/47] gnu: go-github-com-golang-protobuf-proto: Update to 1.5.2 Leo Nikkilä
2022-03-25 19:12     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 03/47] gnu: Add go-github-com-golang-protobuf-ptypes Leo Nikkilä
2022-03-25 19:14     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 04/47] gnu: go-github-com-prometheus-client-golang: Update to 1.12.1 Leo Nikkilä
2022-03-25 19:19     ` Maxime Devos
2022-03-25 19:20     ` Maxime Devos
2022-03-25 19:22     ` Maxime Devos
2022-03-25 19:23     ` Maxime Devos
2022-03-25 19:24     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 05/47] gnu: Add go-github-com-asaskevich-govalidator Leo Nikkilä
2022-03-25 19:26     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 06/47] gnu: Add go-github-com-dennwc-varint Leo Nikkilä
2022-03-25 19:30     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 07/47] gnu: Add go-github-com-edsrzf-mmap-go Leo Nikkilä
2022-03-25 19:33     ` Maxime Devos
2022-03-25 19:35     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 08/47] gnu: Add go-github-com-go-logfmt-logfmt Leo Nikkilä
2022-03-25 19:38     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 09/47] gnu: Add go-github-com-go-kit-log Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 10/47] gnu: Add go-github-com-go-stack-stack Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 11/47] gnu: Add go-github-com-josharian-intern Leo Nikkilä
2022-03-25 19:40     ` Maxime Devos
2022-03-25 19:41     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 12/47] gnu: Add go-github-com-julienschmidt-httprouter Leo Nikkilä
2022-03-25 19:47     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 13/47] gnu: Add go-github-com-mailru-easyjson Leo Nikkilä
2022-03-25 19:49     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 14/47] gnu: Add go-github-com-modern-go-concurrent Leo Nikkilä
2022-03-25 19:50     ` Maxime Devos
2022-03-25 19:51     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 15/47] gnu: Add go-github-com-modern-go-reflect2 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 16/47] gnu: Add go-github-com-montanaflynn-stats Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 17/47] gnu: Add go-github-com-mwitkow-go-conntrack Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 18/47] gnu: Add go-github-com-oklog-run Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 19/47] gnu: Add go-github-com-oklog-ulid Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 20/47] gnu: Add go-github-com-opentracing-contrib-go-stdlib Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 21/47] gnu: Add go-github-com-puerkitobio-urlesc Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 22/47] gnu: Add go-github-com-puerkitobio-purell Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 23/47] gnu: Add go-github-com-shurcool-httpgzip Leo Nikkilä
2022-03-25 13:31   ` Leo Nikkilä [this message]
2022-03-25 13:31   ` [bug#54560] [PATCH 25/47] gnu: Add go-github-com-shurcool-vfsgen Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 26/47] gnu: Add go-github-com-simonpasquier-klog-gokit Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 27/47] gnu: Add go-github-com-simonpasquier-klog-gokit-v3 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 28/47] gnu: Add go-github-com-tidwall-pretty Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 29/47] gnu: Add go-github-com-uber-jaeger-lib Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 30/47] gnu: Add go-github-com-uber-jaeger-client-go Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 31/47] gnu: Add go-github-com-youmark-pkcs8 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 32/47] gnu: Add go-go-uber-org-goleak Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 33/47] gnu: Add go-gopkg-in-alecthomas-kingpin.v2 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 34/47] gnu: Add go-github-com-json-iterator-go Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 35/47] gnu: Add go-go-mongodb-org-mongo-driver Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 36/47] gnu: Add go-github-com-go-openapi-errors Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 37/47] gnu: Add go-github-com-go-openapi-swag Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 38/47] gnu: Add go-github-com-go-openapi-jsonpointer Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 39/47] gnu: Add go-github-com-go-openapi-jsonreference Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 40/47] gnu: Add go-github-com-go-openapi-spec Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 41/47] gnu: Add go-github-com-go-openapi-strfmt Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 42/47] gnu: Add go-github-com-go-openapi-analysis Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 43/47] gnu: Add go-github-com-go-openapi-loads Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 44/47] gnu: Add go-github-com-go-openapi-validate Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 45/47] gnu: Add go-github-com-prometheus-alertmanager-api Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 46/47] gnu: Add go-github-com-prometheus-exporter-toolkit Leo Nikkilä
2022-03-25 19:52     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 47/47] gnu: Add go-github-com-prometheus-prometheus Leo Nikkilä
2022-03-25 20:04     ` Maxime Devos
2022-03-25 20:05     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 19:09   ` [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf Maxime Devos
2022-03-25 19:15   ` Maxime Devos
2022-03-25 22:55     ` Leo Nikkilä
2022-03-26  9:31       ` Maxime Devos
2022-03-25 19:55 ` [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus Maxime Devos
2022-03-25 19:59 ` Maxime Devos
2022-03-25 22:53   ` Leo Nikkilä
2022-03-26  9:18     ` Maxime Devos
2022-03-26  9:36     ` Maxime Devos
2024-05-23 15:20 ` Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220325133211.5128-24-hello@lnikki.la \
    --to=hello@lnikki.la \
    --cc=54560@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).