summary refs log tree commit diff
path: root/pkgs/applications/misc/cmatrix/default.nix
blob: 28f14cc1435f3284bbfe6c03d9d9c4957ea385ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ 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 ];
  };
}