diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-02-09 22:44:36 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-02-09 22:44:36 +0000 |
commit | 21fd05797cb05f3491a82bc0786708031203e4f7 (patch) | |
tree | bcbd1a9b7cfa5a561b0f0871f6b2cb3b7b2f3d43 | |
parent | 18cc7f4b378b9938de574ef04b2567510eecb66e (diff) |
Adding GPL Arcade Volleyball.
I had this patch _almost_ ready for a long long time. Now ready. svn path=/nixpkgs/trunk/; revision=14017
-rw-r--r-- | pkgs/games/gav/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/games/gav/default.nix b/pkgs/games/gav/default.nix new file mode 100644 index 0000000000000..d525e0a372f96 --- /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 f549486f20b06..621928406ac4c 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; }; |