diff --git a/pkgs/games/fish-fillets-ng/default.nix b/pkgs/games/fish-fillets-ng/default.nix new file mode 100644 index 000000000000..e9d6ce9655bb --- /dev/null +++ b/pkgs/games/fish-fillets-ng/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, SDL, lua5_1, pkgconfig, SDL_mixer, SDL_image, SDL_ttf}: +stdenv.mkDerivation rec { + name = "fish-fillets-ng-${version}"; + 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"; + }; + buildInputs = [SDL lua5_1 pkgconfig SDL_mixer SDL_image SDL_ttf]; + 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; + homepage = "http://fillets.sourceforge.net/"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1e426fef1e2f..b7ced7307c1d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5109,6 +5109,8 @@ let fftwSinglePrec = fftw.override { precision = "single"; }; fftwFloat = fftwSinglePrec; # the configure option is just an alias + fish-fillets-ng = callPackage ../games/fish-fillets-ng {}; + flann = callPackage ../development/libraries/flann { }; flite = callPackage ../development/libraries/flite { };