about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/toppler/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/toppler/default.nix')
-rw-r--r--nixpkgs/pkgs/games/toppler/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/toppler/default.nix b/nixpkgs/pkgs/games/toppler/default.nix
new file mode 100644
index 000000000000..cf037a0f4362
--- /dev/null
+++ b/nixpkgs/pkgs/games/toppler/default.nix
@@ -0,0 +1,31 @@
+{ stdenv
+, fetchurl
+, SDL
+, SDL_mixer
+, zlib
+}:
+
+stdenv.mkDerivation rec {
+  pname = "toppler";
+  version = "1.1.6";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
+    sha256 = "0ifccissd8sh78kpwh7dafx4ah7hkhqz6nf4z2hdnalw702jkg3x";
+  };
+
+  buildInputs = [
+    SDL
+    SDL_mixer
+    zlib
+  ];
+
+  meta = with stdenv.lib; {
+    description = "Jump and run game, reimplementation of Tower Toppler/Nebulus";
+    homepage = "http://toppler.sourceforge.net/";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ fgaz ];
+    platforms = platforms.all;
+  };
+}
+