2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchurl, SDL_mixer, SDL, autoreconfHook }:
|
2012-10-05 08:32:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-01-18 00:04:40 +01:00
|
|
|
name = "ri_li-2.0.1";
|
|
|
|
|
2012-10-05 08:32:34 +02:00
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "mirror://sourceforge/ri-li/Ri-li-2.0.1.tar.bz2";
|
2012-10-05 08:32:34 +02:00
|
|
|
sha256 = "f71ccc20c37c601358d963e087ac0d524de8c68e96df09c3aac1ae65edd38dbd";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./moderinze_cpp.patch ];
|
|
|
|
|
2016-01-19 09:55:31 +01:00
|
|
|
CPPFLAGS = "-I${SDL.dev}/include -I${SDL.dev}/include/SDL -I${SDL_mixer}/include";
|
2016-01-18 00:04:40 +01:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ SDL SDL_mixer ];
|
2016-01-18 00:04:40 +01:00
|
|
|
|
2012-10-05 08:32:34 +02:00
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://ri-li.sourceforge.net";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-10-05 18:36:36 +02:00
|
|
|
description = "A children's train game";
|
|
|
|
longDescription = ''
|
|
|
|
Ri-li is an arcade game licensed under the GPL (General Public License).
|
|
|
|
You drive a toy wood engine in many levels and you must collect all the coaches
|
|
|
|
to win.
|
|
|
|
'';
|
2012-10-05 08:39:00 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2012-10-05 08:32:34 +02:00
|
|
|
};
|
|
|
|
}
|