cmatrix: 1.2a -> 2.0

This commit is contained in:
Jonathan Ringer 2019-08-06 01:23:38 -07:00 committed by Matthieu Coudron
parent 955480e6bf
commit 72e926a96c

View File

@ -1,25 +1,24 @@
{ stdenv, fetchurl, pkgconfig, ncurses }:
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
let
version = "1.2a";
in with stdenv.lib;
stdenv.mkDerivation rec {
pname = "cmatrix";
version = "2.0";
name = "cmatrix-${version}";
src = fetchurl{
url = "http://www.asty.org/cmatrix/dist/${name}.tar.gz";
sha256 = "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz";
src = fetchFromGitHub {
owner = "abishekvashok";
repo = "cmatrix";
rev = "v${version}";
sha256 = "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
meta = {
meta = with stdenv.lib; {
description = "Simulates the falling characters theme from The Matrix movie";
longDescription = ''
CMatrix simulates the display from "The Matrix" and is based
on the screensaver from the movie's website.
on the screensaver from the movie's website.
'';
homepage = http://www.asty.org/cmatrix/;
platforms = ncurses.meta.platforms;