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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
844 B
Nix
Raw Normal View History

{ 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 ];
buildInputs = [ ncurses ];
2015-07-29 21:36:02 +00:00
meta = with 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 ];
2024-02-11 02:19:15 +00:00
mainProgram = "cmatrix";
2015-07-29 21:36:02 +00:00
};
}