From patchwork Fri Mar 25 13:31:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Leo_Nikkil=C3=A4?= X-Patchwork-Id: 38075 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E716727BBEB; Fri, 25 Mar 2022 14:13:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 30C5127BBE9 for ; Fri, 25 Mar 2022 14:13:13 +0000 (GMT) Received: from localhost ([::1]:53728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkgi-0005T8-9a for patchwork@mira.cbaines.net; Fri, 25 Mar 2022 10:13:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkdx-000121-Hg for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkdx-0004fm-75 for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkdw-0003CT-2U for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 24/47] gnu: Add go-github-com-shurcool-httpfs. Resent-From: Leo =?utf-8?q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 14:10:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?utf-8?q?Nikkil=C3=A4?= Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164821739111882 (code B ref 54560); Fri, 25 Mar 2022 14:10:20 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:51 +0000 Received: from localhost ([127.0.0.1]:52008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkdS-00035U-Si for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:51 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:47013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk4T-0001h7-RR for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:42 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 66F4F32009F8; Fri, 25 Mar 2022 09:33:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 25 Mar 2022 09:33:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=X+1iZ/hgqOIpHE3dCMgK5fFQX5dbpg qP6+cph4UyNKQ=; b=BNzB2mdusBrRUwlPbsV3eepuHws90se1OsTKOy7vOWTihT O7e0bYPbMr1wHsg5+5WyPzZnVLebt9RjSpom6/sOpW6cTXQuvF0b+rGlJ7tp9JEp HJh6L02SDp3Vny5W2QkshW3bYtQKf30MoUuF4RfZeHFHqcfn6ev5g8/pxsP82gs9 27HZc2RlwTOqy53DBgCgE4Sm+3LbeOXOpHwmlFMdLQa+aZJuxyQkMAD4ARAALdyK 1RZ8aH6HabxMeC5RepePIdUFW6Blxi/Ge+4EfwVzcw19Vv24rD0Koc7z/SZMMJXC sJPUTqKXrpZTbv1peGChzybXddPU4boZ3DAgYHiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=X+1iZ/ hgqOIpHE3dCMgK5fFQX5dbpgqP6+cph4UyNKQ=; b=UGjmMbKfI/c9Ix+lVUUP1b +g8APFGVEFe9tXlw3sNOtAi49qpkKv4kyw9OommQakwzeIh+Py+6gWCCp/K4tt3p rXMq19blGvmwWsBpbmTXsqXkx6YSH2ZUW/fx8fczc2YjfF/OV30dGgTFFX1Yw1QQ 5QBy+wDAQVqAo0cJXjWL5vBWuaGzBwTpHhIiGayLRpdd7/rfHHE3asG+m4S5rhSB Ys/b2SvIS0gI+pkVKNeW2Do8roqlpXbCZtsGukW9FHA1E/Qg2ELpBAW7t2FcAZr+ kwEy7K1vlCtU20/K5PgTtVryJ618/4/KzAsmWQbfDqUkwsP07dcJ9A9NkXLcVitg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeegfeeggedvhfffiedtueegveetffefudekje euieetgffgtdfgfeeludeiteehfeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloh eslhhnihhkkhhirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:40 -0400 (EDT) From: Leo =?utf-8?q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:48 +0200 Message-Id: <20220325133211.5128-24-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220325133211.5128-1-hello@lnikki.la> References: <20220325133211.5128-1-hello@lnikki.la> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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"))