nixpkgs/pkgs/applications/misc/cmatrix/default.nix
2019-08-06 18:28:23 +09:00

28 lines
774 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
stdenv.mkDerivation rec {
pname = "cmatrix";
version = "2.0";
src = fetchFromGitHub {
owner = "abishekvashok";
repo = "cmatrix";
rev = "v${version}";
sha256 = "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
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 ];
};
}