diff --git a/pkgs/games/gav/default.nix b/pkgs/games/gav/default.nix new file mode 100644 index 000000000000..d525e0a372f9 --- /dev/null +++ b/pkgs/games/gav/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net} : + +stdenv.mkDerivation { + name = "gav-0.9.0"; + + src = fetchurl { + url = "mirror://sourceforge/gav/gav-0.9.0.tar.gz"; + sha256 = "8f0deb8b2cd775b339229054f4f282583a4cfbcba9d27a6213cf910bab944f3e"; + }; + + patchPhase = '' + mkdir -p $out/bin + sed -e "s@/usr@$out@" -i Makefile + sed -e "s@/usr@$out@" -i Theme.h + ''; + buildInputs = [SDL SDL_image SDL_mixer SDL_net]; + + meta = { + description = "Remake of AV Arcade Volleyball"; + homepage = http://gav.sourceforge.net/; + license = "GPLv2+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f549486f20b0..621928406ac4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2965,6 +2965,10 @@ let inherit (gtkLibs) glib; }; + gav = import ../games/gav { + inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net; + }; + gdbm = import ../development/libraries/gdbm { inherit fetchurl stdenv; };