From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= Subject: [PATCH v2] gnu: Add tig. Date: Thu, 12 Mar 2015 22:10:35 +0100 Message-ID: <1426194635-10102-1-git-send-email-sleep_walker@suse.cz> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWANY-0003VM-S3 for guix-devel@gnu.org; Thu, 12 Mar 2015 17:10:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWANU-0007u0-R1 for guix-devel@gnu.org; Thu, 12 Mar 2015 17:10:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35331 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWANU-0007ts-K8 for guix-devel@gnu.org; Thu, 12 Mar 2015 17:10:48 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0E152AAC9 for ; Thu, 12 Mar 2015 21:10:46 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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..081d84d 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 + `(#:tests? #f)) ; no tests implemented + (home-page "http://jonas.nitro.dk/tig/") + (synopsis "Ncurses-based text user interface for Git") + (description + "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+))) -- 2.2.1