all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 63018@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#63018] [PATCH 3/3] gnu: Add lfs-s3.
Date: Sat, 22 Apr 2023 18:29:44 +0200	[thread overview]
Message-ID: <20230422162944.20867-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20230422162944.20867-1-ngraves@ngraves.fr>

* 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")
-- 
2.39.2





  parent reply	other threads:[~2023-04-22 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-22 16:24 [bug#63018] [PATCH 0/3] gnu: Add lfs-s3 Nicolas Graves via Guix-patches via
2023-04-22 16:29 ` [bug#63018] [PATCH 1/3] gnu: Add go-github-com-aws-aws-sdk-go-v2-service-s3 Nicolas Graves via Guix-patches via
2023-04-22 16:29   ` [bug#63018] [PATCH 2/3] gnu: Add go-github-com-aws-aws-sdk-go-v2-feature-s3-manager Nicolas Graves via Guix-patches via
2023-04-22 16:29   ` Nicolas Graves via Guix-patches via [this message]
2023-04-23 15:05 ` [bug#63018] [PATCH 0/3] gnu: Add lfs-s3 Leo Famulari
2023-04-23 15:05   ` bug#63018: " Leo Famulari

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

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

  git send-email \
    --in-reply-to=20230422162944.20867-3-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=63018@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.