nixpkgs/pkgs/applications/misc/cmatrix/default.nix

29 lines
817 B
Nix
Raw Normal View History

2019-08-06 08:23:38 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
2015-07-29 21:36:02 +00:00
stdenv.mkDerivation rec {
2019-08-06 08:23:38 +00:00
pname = "cmatrix";
version = "2.0";
2015-07-29 21:36:02 +00:00
2019-08-06 08:23:38 +00:00
src = fetchFromGitHub {
owner = "abishekvashok";
repo = "cmatrix";
rev = "v${version}";
sha256 = "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm";
2015-07-29 21:36:02 +00:00
};
2019-08-06 08:23:38 +00:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
2015-07-29 21:36:02 +00:00
2019-08-06 08:23:38 +00:00
meta = with stdenv.lib; {
2015-07-29 21:36:02 +00:00
description = "Simulates the falling characters theme from The Matrix movie";
license = licenses.gpl3;
2015-07-29 21:36:02 +00:00
longDescription = ''
CMatrix simulates the display from "The Matrix" and is based
2019-08-06 08:23:38 +00:00
on the screensaver from the movie's website.
2015-07-29 21:36:02 +00:00
'';
homepage = "https://github.com/abishekvashok/cmatrix";
2015-07-29 21:36:02 +00:00
platforms = ncurses.meta.platforms;
maintainers = [ maintainers.AndersonTorres ];
};
}