2021-01-11 07:54:33 +00:00
|
|
|
{ lib, 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 ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ ncurses ];
|
2015-07-29 21:36:02 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-07-29 21:36:02 +00:00
|
|
|
description = "Simulates the falling characters theme from The Matrix movie";
|
2019-10-05 00:03:07 +00:00
|
|
|
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
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/abishekvashok/cmatrix";
|
2015-07-29 21:36:02 +00:00
|
|
|
platforms = ncurses.meta.platforms;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "cmatrix";
|
2015-07-29 21:36:02 +00:00
|
|
|
};
|
|
|
|
}
|