From 219debbedd1609b6365bac1e381fdf55606cbbf6 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Wed, 29 Jul 2015 18:36:02 -0300 Subject: [PATCH] cmatrix: init at 1.2a --- pkgs/applications/misc/cmatrix/default.nix | 27 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/misc/cmatrix/default.nix diff --git a/pkgs/applications/misc/cmatrix/default.nix b/pkgs/applications/misc/cmatrix/default.nix new file mode 100644 index 000000000000..c7a76ef00a6a --- /dev/null +++ b/pkgs/applications/misc/cmatrix/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, pkgconfig, ncurses }: + +let + version = "1.2a"; +in with stdenv.lib; +stdenv.mkDerivation rec { + + name = "cmatrix-${version}"; + + src = fetchurl{ + url = "http://www.asty.org/cmatrix/dist/${name}.tar.gz"; + sha256 = "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz"; + }; + + buildInputs = [ pkgconfig ncurses ]; + + meta = { + description = "Simulates the falling characters theme from The Matrix movie"; + longDescription = '' + CMatrix simulates the display from "The Matrix" and is based + on the screensaver from the movie's website. + ''; + homepage = http://www.asty.org/cmatrix/; + platforms = ncurses.meta.platforms; + maintainers = [ maintainers.AndersonTorres ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ada3e3bd1f75..506c36d78a54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10723,6 +10723,8 @@ let clipit = callPackage ../applications/misc/clipit { }; + cmatrix = callPackage ../applications/misc/cmatrix { }; + bomi = callPackage ../applications/video/bomi { stdenv = overrideCC stdenv gcc49; pulseSupport = config.pulseaudio or true;