gnu: Add tmux. licenses: add ISC.

* gnu/packages/tmux.scm: New file.
* Makefile.am (MODULES): Use it.
* guix/licenses.scm: add ISC.
This commit is contained in:
Cyril Roelandt 2013-02-11 03:32:51 +01:00
parent 95b6c70f6b
commit b1426f1785
3 changed files with 58 additions and 0 deletions

View file

@ -143,6 +143,7 @@ MODULES = \
gnu/packages/texinfo.scm \
gnu/packages/texlive.scm \
gnu/packages/time.scm \
gnu/packages/tmux.scm \
gnu/packages/tor.scm \
gnu/packages/wget.scm \
gnu/packages/which.scm \

51
gnu/packages/tmux.scm Normal file
View file

@ -0,0 +1,51 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages tmux)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages libevent)
#:use-module (gnu packages ncurses))
(define-public tmux
(package
(name "tmux")
(version "1.7")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/tmux/tmux/tmux-"
version "/tmux-" version ".tar.gz"))
(sha256
(base32
"0ywy1x2g905hmhkdz418ik42lcvnhnwr8fv63rcqczfg27d6nd38"))))
(build-system gnu-build-system)
(inputs
`(("libevent" ,libevent)
("ncurses" ,ncurses)))
(home-page "http://tmux.sourceforge.net/")
(synopsis "A terminal multiplexer")
(description
"tmux is a terminal multiplexer: it enables a number of terminals (or
windows), each running a separate program, to be created, accessed, and
controlled from a single screen. tmux may be detached from a screen and
continue running in the background, then later reattached.")
(license isc)))

View file

@ -30,6 +30,7 @@ (define-module (guix licenses)
expat
freetype
gpl1 gpl1+ gpl2 gpl2+ gpl3 gpl3+
isc
ijg
ibmpl1.0
lgpl2.0 lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+
@ -149,6 +150,11 @@ (define gpl3+
"https://www.gnu.org/licenses/gpl.html"
"https://www.gnu.org/licenses/license-list#GNUGPLv3"))
(define isc
(license "ISC"
"http://directory.fsf.org/wiki/License:ISC"
"https://www.gnu.org/licenses/license-list.html#ISC"))
(define ijg
(license "IJG"
"http://directory.fsf.org/wiki/License:JPEG"