From b51410c4bba14390538adf5098af92f9fee11a54 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 2 Jul 2019 23:58:11 +0200 Subject: [PATCH] toppler: init at 1.1.6 --- pkgs/games/toppler/default.nix | 31 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/games/toppler/default.nix diff --git a/pkgs/games/toppler/default.nix b/pkgs/games/toppler/default.nix new file mode 100644 index 000000000000..cf037a0f4362 --- /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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 001214093ee6..893ce075b020 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22008,6 +22008,8 @@ in tome4 = callPackage ../games/tome4 { }; + toppler = callPackage ../games/toppler { }; + trackballs = callPackage ../games/trackballs { }; tremulous = callPackage ../games/tremulous { };