--- Begin Message ---
Subject: |
[PATCH] gnu: Add git-lfs. |
Date: |
Sat, 6 Apr 2019 10:35:33 -0400 |
* gnu/packages/version-control.scm (git-lfs): New variable.
---
gnu/packages/version-control.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 50284182c9..091bc988cf 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2018 Timothy Sample <address@hidden>
;;; Copyright © 2018 Arun Isaac <address@hidden>
;;; Copyright © 2019 Jovany Leandro G.C <address@hidden>
+;;; Copyright © 2019 Kei Kebreau <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -47,6 +48,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages apr)
@@ -2137,3 +2139,27 @@ design goals are to reduce the pain of resolving merge
conflicts by finding
the smallest possible conflicts and to allow a merge to be saved, tested,
interrupted, published, and collaborated on while in progress.")
(license license:gpl2+)))
+
+(define-public git-lfs
+ (package
+ (name "git-lfs")
+ (version "2.7.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/git-lfs/git-lfs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/git-lfs/git-lfs"))
+ (home-page "https://git-lfs.github.com/")
+ (synopsis "Git extension for versioning large files")
+ (description
+ "Git Large File Storage (LFS) replaces large files such as audio samples,
+videos, datasets, and graphics with text pointers inside Git, while storing the
+file contents on a remote server like GitHub.com or GitHub Enterprise.")
+ (license license:expat)))
--
2.21.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#35172] [PATCH] gnu: Add git-lfs. |
Date: |
Sat, 20 Apr 2019 16:42:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Ludovic Courtès <address@hidden> writes:
> Hello,
>
> Kei Kebreau <address@hidden> skribis:
>
>> Kei Kebreau <address@hidden> writes:
>>
>>> +(define-public git-lfs
>>> + (package
>>> + (name "git-lfs")
>>> + (version "2.7.1")
>>> + (source (origin
>>> + (method git-fetch)
>>> + (uri (git-reference
>>> + (url "https://github.com/git-lfs/git-lfs")
>>> + (commit (string-append "v" version))))
>>> + (file-name (git-file-name name version))
>>> + (sha256
>>> + (base32
>>> + "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
>>> + (build-system go-build-system)
>>> + (arguments
>>> + '(#:import-path "github.com/git-lfs/git-lfs"))
>>> + (home-page "https://git-lfs.github.com/")
>>> + (synopsis "Git extension for versioning large files")
>>> + (description
>>> + "Git Large File Storage (LFS) replaces large files such as audio
>>> samples,
>>> +videos, datasets, and graphics with text pointers inside Git,
>>> while storing the
>>> +file contents on a remote server like GitHub.com or GitHub Enterprise.")
>>
>> I realize that I can remove the GitHub promotion from the description
>> without any loss of understanding.
>
> Agreed.
>
>>> + (license license:expat)))
>>
>> This is my first Go package, so any corrections or tips are especially
>> appreciated!
>
> I’m no nothing about Go, but it LGTM! If something is broken, don’t
> worry, people will tell you. ;-)
>
:-)
> Thank you,
> Ludo’.
Pushed to master, thank you for reviewing!
signature.asc
Description: PGP signature
--- End Message ---