>From b2f37807cbf4fa150272c5ff77eba7a8aeecfcef Mon Sep 17 00:00:00 2001 From: Cyrill Schenkel <[email protected]> Date: Tue, 1 Jul 2014 12:02:26 +0200 Subject: [PATCH] gnu: Add cmatrix.
* gnu-system.am (GNU_SYSTEM_MODULES): Add new package. * gnu/packages/cmatrix.scm: New file. --- gnu-system.am | 1 + gnu/packages/cmatrix.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 gnu/packages/cmatrix.scm diff --git a/gnu-system.am b/gnu-system.am index 90f9033..5d302ca 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -53,6 +53,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/cflow.scm \ gnu/packages/check.scm \ gnu/packages/cmake.scm \ + gnu/packages/cmatrix.scm \ gnu/packages/compression.scm \ gnu/packages/complexity.scm \ gnu/packages/cook.scm \ diff --git a/gnu/packages/cmatrix.scm b/gnu/packages/cmatrix.scm new file mode 100644 index 0000000..cd9e242 --- /dev/null +++ b/gnu/packages/cmatrix.scm @@ -0,0 +1,57 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Cyrill Schenkel <[email protected]> +;;; +;;; 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 acl) + #:use-module (guix licenses) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages autotools) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix build gnu-build-system)) + +(define-public cmatrix + (package + (name "cmatrix") + (version "1.2a") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.asty.org/cmatrix/dist/cmatrix-" version + ".tar.gz")) + (sha256 + (base32 + "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (alist-cons-before + 'patch-source-shebangs 'autoreconf + (lambda args + (system* "autoreconf" "-fi")) + %standard-phases))) + (inputs `(("ncurses" ,ncurses) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (home-page "http://wwww.asty.org/cmatrix") + (synopsis "CMatrix simulates the display from \"The Matrix\"") + (description "CMatrix simulates the display from \"The Matrix\" and is +based on the screensaver from the movie's website. It works with terminal +settings up to 132x300 and can scroll lines all at the same rate or +asynchronously and at a user-defined speed.") + (license gpl2+))) -- 2.0.0
