2014-11-08 19:34:56 +00:00
|
|
|
{stdenv, fetchurl, SDL, lua5_1, pkgconfig, SDL_mixer, SDL_image, SDL_ttf}:
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fish-fillets-ng";
|
2014-11-08 19:34:56 +00:00
|
|
|
version = "1.0.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/fillets/fillets-ng-${version}.tar.gz";
|
|
|
|
sha256 = "1nljp75aqqb35qq3x7abhs2kp69vjcj0h1vxcpdyn2yn2nalv6ij";
|
|
|
|
};
|
|
|
|
data = fetchurl {
|
|
|
|
url = "mirror://sourceforge/fillets/fillets-ng-data-${version}.tar.gz";
|
|
|
|
sha256 = "169p0yqh2gxvhdilvjc2ld8aap7lv2nhkhkg4i1hlmgc6pxpkjgh";
|
|
|
|
};
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [SDL lua5_1 SDL_mixer SDL_image SDL_ttf];
|
2014-11-08 19:34:56 +00:00
|
|
|
postInstall=''
|
|
|
|
mkdir -p "$out/share/games/fillets-ng/"
|
|
|
|
tar -xf ${data} -C "$out/share/games/fillets-ng/" --strip-components=1
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A puzzle game'';
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://fillets.sourceforge.net/";
|
2014-11-08 19:34:56 +00:00
|
|
|
};
|
|
|
|
}
|