mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
cmatrix: 1.2a -> 2.0
This commit is contained in:
parent
955480e6bf
commit
72e926a96c
1 changed files with 11 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue