From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FxqGfrNPWLzIwEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 15:13:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gMYMFvrNPWIglgAAauVa8A (envelope-from ) for ; Fri, 25 Mar 2022 15:13:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0D6063A08B for ; Fri, 25 Mar 2022 15:13:14 +0100 (CET) Received: from localhost ([::1]:53728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkgj-0005T8-7I for larch@yhetil.org; Fri, 25 Mar 2022 10:13:13 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648217594; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=X+1iZ/hgqOIpHE3dCMgK5fFQX5dbpgqP6+cph4UyNKQ=; b=ISfB+96EIUuKSSzYYbxAtzUXsHERbR920oG1JEZhI4Bqv6RewmZ78t1C9nQlWUGDAl9AT+ up06UWWvEeEpaNLFFWADQqrsjAYx/BdzVoU0QyPJ7JoO5nKv9TQL7xaHpPSpWGerzUTt75 do9isohTPFSECsaoWLXhOtEsFZtPrTwncayWjEo4OVR8Hssy6at7pGvrEZQRWxdgnREhU0 /Xxwc21w96gjGX9tQhv8S2A+MheNYyEIYRLZtX0tby4LkVfSohkY07qY7tda4OSpYzFM2S qHJUxMJTqLJKyV4Q432Z28pcm+ngTsbvstO3fv1jYqR9hNXw7rIJErKOB41r+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648217594; a=rsa-sha256; cv=none; b=nKwkgDArFaWs/vs0XKRa4dC2jlgZt2sNnElz/XDpHxgURxQCURI6Tr6EH9bgJMHsHZM+TU 16fg1Bz8B7InXGUXx8NvwPtKulitgCtdooquMSTo34yDppaaDfIMnSjEUY6dbwR7BYIXXF qVgkAs8yjOZiadWwLek03n7T3e82MAUzoFY5Jl1k5JBLbYw41/G0uwbDO+5FwSbAdW7k+o vUv9RPIPFt0S12dFq8HLTHoEV03bVv/C/mQ18eDPrDEk0WdGY7gzMTEKvIfwEwJ1Kb+A6k KO0nHbWjXL1GkEa/ShbBWQAP2aD8ZJB4o78UAGefYm2z5CE3bL7ACNLoFBbQ9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=BNzB2mdu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UGjmMbKf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=BNzB2mdu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UGjmMbKf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0D6063A08B X-Spam-Score: 7.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: cbJQO9i3szSh * 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