all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#46962] [PATCH] gnu: Add git2cl.
@ 2021-03-06  9:28 Xinglu Chen
  2021-03-19 20:52 ` bug#46962: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-03-06  9:28 UTC (permalink / raw)
  To: 46962

* gnu/packages/version-control.scm (git2cl): New variable.
---
 gnu/packages/version-control.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8292a5df15..c363aadfdf 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2021 Léo Le Bouter <lle-bout@zaclys.net>
+;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -599,6 +600,32 @@ everything from small to very large projects with speed and efficiency.")
        ("perl" ,perl)
        ("zlib" ,zlib)))))
 
+(define-public git2cl
+  (let ((commit "1d74d4c0d933fc69ed5cec838c73502584dead05"))
+    (package
+      (name "git2cl")
+      (version (string-append "20120919." (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.savannah.nongnu.org/git/git2cl.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0wnnbm2sjvfj0qrksj89jlnl69miwl0vk3wrrvgvpclgys3na2g1"))))
+      (build-system copy-build-system)
+      (inputs
+       `(("perl" ,perl)))
+      (arguments
+       `(#:install-plan
+         '(("git2cl" "bin/git2cl"))))
+      (home-page "https://savannah.nongnu.org/projects/git2cl")
+      (synopsis "Convert git logs to GNU ChangeLog format")
+      (description "@code{git2cl} is a command line tool for converting git
+logs to GNU ChangeLog format.")
+      (license license:gpl2))))
+
 (define-public gitless
   (package
     (name "gitless")

base-commit: 112692c0d546d35cd67c5dc70dbd1dc609b18f64
-- 
2.30.0






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

* bug#46962: [PATCH] gnu: Add git2cl.
  2021-03-06  9:28 [bug#46962] [PATCH] gnu: Add git2cl Xinglu Chen
@ 2021-03-19 20:52 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-03-19 20:52 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 46962-done

Hi,

Xinglu Chen <public@yoctocell.xyz> skribis:

> * gnu/packages/version-control.scm (git2cl): New variable.

I changed the license to ‘gpl2+’ (meaning “or any later version”),
capitalized “Git”, and committed.

Thanks!

Ludo’.




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

end of thread, other threads:[~2021-03-19 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06  9:28 [bug#46962] [PATCH] gnu: Add git2cl Xinglu Chen
2021-03-19 20:52 ` bug#46962: " Ludovic Courtès

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.