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

29 lines
817 B
Nix
Raw Normal View History

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