depot/third_party/nixpkgs/pkgs/applications/misc/cmatrix/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

29 lines
844 B
Nix

{ lib, 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 lib; {
description = "Simulates the falling characters theme from The Matrix movie";
license = licenses.gpl3;
longDescription = ''
CMatrix simulates the display from "The Matrix" and is based
on the screensaver from the movie's website.
'';
homepage = "https://github.com/abishekvashok/cmatrix";
platforms = ncurses.meta.platforms;
maintainers = [ maintainers.AndersonTorres ];
mainProgram = "cmatrix";
};
}