nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.0 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 installShellFiles, 7 ncurses, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "tmatrix"; 12 version = "1.4"; 13 14 src = fetchFromGitHub { 15 owner = "M4444"; 16 repo = "TMatrix"; 17 rev = "v${finalAttrs.version}"; 18 sha256 = "sha256-G3dg0SWfBjCA66TTxkVAcVrFNJOWE9+GJXYKzCUX34w="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 installShellFiles 24 ]; 25 buildInputs = [ ncurses ]; 26 27 postInstall = '' 28 installManPage ../tmatrix.6 29 ''; 30 31 meta = { 32 description = "Terminal based replica of the digital rain from The Matrix"; 33 longDescription = '' 34 TMatrix is a program that simulates the digital rain form The Matrix. 35 It's focused on being the most accurate replica of the digital rain effect 36 achievable on a typical terminal, while also being customizable and 37 performant. 38 ''; 39 homepage = "https://github.com/M4444/TMatrix"; 40 license = lib.licenses.gpl2; 41 platforms = lib.platforms.all; 42 mainProgram = "tmatrix"; 43 }; 44})