instead: update from 1.9.1 to 2.2.0 and adopt it
This commit is contained in:
parent
68c4311fee
commit
6f27834e3a
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, SDL_mixer, pkgconfig, lua, zlib, unzip }:
|
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, SDL_mixer, pkgconfig, lua, zlib, unzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.9.1";
|
version = "2.2.0";
|
||||||
|
|
||||||
# I took several games at random from http://instead.syscall.ru/games/
|
# I took several games at random from http://instead.syscall.ru/games/
|
||||||
games = [
|
games = [
|
||||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.sourceforge.net/project/instead/instead/${version}/instead_${version}.tar.gz";
|
url = "http://downloads.sourceforge.net/project/instead/instead/${version}/instead_${version}.tar.gz";
|
||||||
sha256 = "f5577c5118b5f4a2897c7bb26f3ad7993005dbf0ae8fe762b4434e1151ddb430";
|
sha256 = "0szg8ns9k8d85ap8cdd3mgxgldry369kxfj6wp1nc3a73pw4gghv";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = "-llua -lgcc_s";
|
NIX_LDFLAGS = "-llua -lgcc_s";
|
||||||
|
@ -56,10 +56,11 @@ stdenv.mkDerivation rec {
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple text adventure interpreter for Unix and Windows";
|
description = "Simple text adventure interpreter for Unix and Windows";
|
||||||
homepage = http://instead.syscall.ru/;
|
homepage = http://instead.syscall.ru/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue