From patchwork Sat Apr 22 16:29:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49414 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 B4C7B27BBE2; Sat, 22 Apr 2023 17:31:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 21DB627BBE9 for ; Sat, 22 Apr 2023 17:31:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG8f-0006JQ-CT; Sat, 22 Apr 2023 12:31:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqG8d-0006Ik-5B for guix-patches@gnu.org; Sat, 22 Apr 2023 12:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqG8c-0001WQ-Ta for guix-patches@gnu.org; Sat, 22 Apr 2023 12:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG8c-0008UE-PL for guix-patches@gnu.org; Sat, 22 Apr 2023 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63018] [PATCH 3/3] gnu: Add lfs-s3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Apr 2023 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63018@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63018-submit@debbugs.gnu.org id=B63018.168218100832468 (code B ref 63018); Sat, 22 Apr 2023 16:31:02 +0000 Received: (at 63018) by debbugs.gnu.org; 22 Apr 2023 16:30:08 +0000 Received: from localhost ([127.0.0.1]:44041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG7k-0008Rb-2M for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:30:08 -0400 Received: from 11.mo582.mail-out.ovh.net ([188.165.38.119]:33757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG7d-0008QL-Fp for 63018@debbugs.gnu.org; Sat, 22 Apr 2023 12:30:03 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.16.91]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 6EAF925967 for <63018@debbugs.gnu.org>; Sat, 22 Apr 2023 16:30:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zfcrp (unknown [10.110.115.108]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 425271FD3F; Sat, 22 Apr 2023 16:30:00 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-zfcrp with ESMTPSA id DvsfD4gLRGSelwAAnjDRaQ (envelope-from ); Sat, 22 Apr 2023 16:30:00 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-98R002c8d055dd-eb15-40f5-9975-1081f69c78fa, E9913F706B0966FB98C2C1C62831F8C2A85A18CE) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:29:44 +0200 Message-Id: <20230422162944.20867-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422162944.20867-1-ngraves@ngraves.fr> References: <20230422162944.20867-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 830914134944113378 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeduhffhgfeiiefgffdtuddvfefhueeihfeuiefhvefhfeduudevfeetjefhtdefheenucffohhmrghinhepshhrrdhhthenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeifedtudekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/version-control.scm (lfs-s3): New variable. --- gnu/packages/version-control.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 8789da6577..2c4598999b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -3096,6 +3096,38 @@ (define-public git-lfs file contents on a remote server.") (license license:expat))) +(define-public lfs-s3 + (package + (name "lfs-s3") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~ngraves/lfs-s3") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nkxivb356f1zjlj34px601zy86w4398db9s2ivd178jp4v69raw")))) + (build-system go-build-system) + (arguments + (list + #:import-path "git.sr.ht/~ngraves/lfs-s3")) + (inputs (list git-lfs)) + (propagated-inputs + (list go-github-com-aws-aws-sdk-go-v2 + go-github-com-aws-aws-sdk-go-v2-config + go-github-com-aws-aws-sdk-go-v2-feature-s3-manager + go-github-com-aws-aws-sdk-go-v2-service-s3 + go-github-com-spf13-cobra)) + (home-page "https://git.sr.ht/~ngraves/lfs-s3/") + (synopsis "Git extension for versioning large files in S3") + (description + "This package provides a custom transfer agent for Git LFS, allowing +plain S3 bucket usage as remote storage for media files. This package uses a +standalone agent instead of a server.") + (license license:expat))) + (define-public git-open (package (name "git-open")