about summary refs log tree commit diff
path: root/pkgs/games/toppler
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2019-07-02 23:58:11 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2019-07-02 23:58:11 +0200
commitb51410c4bba14390538adf5098af92f9fee11a54 (patch)
tree8b01a465b8d466691df251eb16948769e38084be /pkgs/games/toppler
parent5d12512b2da5501f271b5e4d7550503e0adead3a (diff)
toppler: init at 1.1.6
Diffstat (limited to 'pkgs/games/toppler')
-rw-r--r--pkgs/games/toppler/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/games/toppler/default.nix b/pkgs/games/toppler/default.nix
new file mode 100644
index 0000000000000..cf037a0f43627
--- /dev/null
+++ b/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;
+  };
+}
+