* [PATCH] gnu: Add tig.
@ 2015-03-11 20:58 Tomáš Čech
2015-03-12 20:32 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Tomáš Čech @ 2015-03-11 20:58 UTC (permalink / raw)
To: guix-devel
* gnu/packages/version-control.scm (tig): 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 7434ed9..cb26280 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -46,6 +46,7 @@
#:use-module (gnu packages linux)
;; #:use-module (gnu packages gnutls)
#:use-module (gnu packages nano)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages openssl)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -778,3 +779,28 @@ changes back into the master source of the program, with as little disruption
as possible. Resolution of contention for source files, a major headache for
any project with more than one developer, is one of Aegis's major functions.")
(license gpl3+)))
+
+(define-public tig
+ (package
+ (name "tig")
+ (version "2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://jonas.nitro.dk/tig/releases/tig-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1c1w6w39a1dwx4whrg0ga1mhrlz095hz875z7ajn6xgmhkv8fqih"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("ncurses" ,ncurses)))
+ (arguments
+ `(#:phases
+ (alist-delete 'check %standard-phases)))
+ (home-page "http://jonas.nitro.dk/tig/")
+ (synopsis "ncurses-based text-mode for GIT")
+ (description
+ "Tig is ncurses TUI for GIT, primary intended as history browser but can
+stage chunks for commit or colorize any GIT output.")
+ (license gpl2)))
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add tig.
2015-03-11 20:58 [PATCH] gnu: Add tig Tomáš Čech
@ 2015-03-12 20:32 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-03-12 20:32 UTC (permalink / raw)
To: Tomáš Čech; +Cc: guix-devel
Tomáš Čech <sleep_walker@suse.cz> skribis:
> * gnu/packages/version-control.scm (tig): New variable.
[...]
> + (arguments
> + `(#:phases
> + (alist-delete 'check %standard-phases)))
Rather “#:tests? #f” with a comment explaining why this is done (lack of
test suite?).
> + (synopsis "ncurses-based text-mode for GIT")
“Ncurses-based text user interface for Git”
> + (description
> + "Tig is ncurses TUI for GIT, primary intended as history browser but can
> +stage chunks for commit or colorize any GIT output.")
A few typos: “Tig is an ncurses text user interface for Git, primarily
intended as a history browser. It can also stage hunks for commit, or
colorize the output of the 'git' command.”
> + (license gpl2)))
GPLv2-only?
Could you send an updated patch?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-12 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11 20:58 [PATCH] gnu: Add tig Tomáš Čech
2015-03-12 20:32 ` Ludovic Courtès
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).