unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63018] [PATCH 0/3] gnu: Add lfs-s3.
@ 2023-04-22 16:24 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-23 15:05 ` [bug#63018] [PATCH 0/3] " Leo Famulari
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-04-22 16:24 UTC (permalink / raw)
  To: 63018


A tiny patch series to add the package lfs-s3.

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#63018] [PATCH 1/3] gnu: Add go-github-com-aws-aws-sdk-go-v2-service-s3.
  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 ` 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   ` [bug#63018] [PATCH 3/3] gnu: Add lfs-s3 Nicolas Graves via Guix-patches via
  2023-04-23 15:05 ` [bug#63018] [PATCH 0/3] " Leo Famulari
  1 sibling, 2 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-04-22 16:29 UTC (permalink / raw)
  To: 63018; +Cc: ngraves

* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-s3): New variable.
---
 gnu/packages/golang.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 742d4f108e..afb1d1adc5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11649,6 +11649,16 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-sts
        #:unpack-path "github.com/aws/aws-sdk-go-v2"))
     (propagated-inputs (list go-github-com-aws-smithy-go))))
 
+(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
+  (package
+    (inherit go-github-com-aws-aws-sdk-go-v2)
+    (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
+    (version "1.30.0")
+    (arguments
+     '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
+       #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+    (propagated-inputs (list go-github-com-aws-smithy-go))))
+
 (define-public aws-vault
   (package
     (name "aws-vault")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#63018] [PATCH 2/3] gnu: Add go-github-com-aws-aws-sdk-go-v2-feature-s3-manager.
  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   ` Nicolas Graves via Guix-patches via
  2023-04-22 16:29   ` [bug#63018] [PATCH 3/3] gnu: Add lfs-s3 Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-04-22 16:29 UTC (permalink / raw)
  To: 63018; +Cc: ngraves

* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-feature-s3-manager): New variable.
---
 gnu/packages/golang.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index afb1d1adc5..710f0a282f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11659,6 +11659,16 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-s3
        #:unpack-path "github.com/aws/aws-sdk-go-v2"))
     (propagated-inputs (list go-github-com-aws-smithy-go))))
 
+(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
+  (package
+    (inherit go-github-com-aws-aws-sdk-go-v2)
+    (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
+    (version "1.11.44")
+    (arguments
+     '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
+       #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+    (propagated-inputs (list go-github-com-aws-smithy-go))))
+
 (define-public aws-vault
   (package
     (name "aws-vault")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#63018] [PATCH 3/3] gnu: Add lfs-s3.
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-04-22 16:29 UTC (permalink / raw)
  To: 63018; +Cc: ngraves

* 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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#63018] [PATCH 0/3] gnu: Add lfs-s3.
  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-23 15:05 ` Leo Famulari
  2023-04-23 15:05   ` bug#63018: " Leo Famulari
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2023-04-23 15:05 UTC (permalink / raw)
  To: 63018; +Cc: 63018-done

On Sat, Apr 22, 2023 at 06:24:13PM +0200, Nicolas Graves via Guix-patches via wrote:
> 
> A tiny patch series to add the package lfs-s3.

Thanks! Pushed as 5885e671646549d895ad26669deb3ac268cf9577




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#63018: [PATCH 0/3] gnu: Add lfs-s3.
  2023-04-23 15:05 ` [bug#63018] [PATCH 0/3] " Leo Famulari
@ 2023-04-23 15:05   ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2023-04-23 15:05 UTC (permalink / raw)
  To: Nicolas Graves via Guix-patches via; +Cc: 63018-done

On Sat, Apr 22, 2023 at 06:24:13PM +0200, Nicolas Graves via Guix-patches via wrote:
> 
> A tiny patch series to add the package lfs-s3.

Thanks! Pushed as 5885e671646549d895ad26669deb3ac268cf9577




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-23 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [bug#63018] [PATCH 3/3] gnu: Add lfs-s3 Nicolas Graves via Guix-patches via
2023-04-23 15:05 ` [bug#63018] [PATCH 0/3] " Leo Famulari
2023-04-23 15:05   ` bug#63018: " Leo Famulari

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).