nixpkgs-suyu/pkgs/games/toppler/default.nix

35 lines
752 B
Nix
Raw Normal View History

{ lib, stdenv
2019-07-02 23:58:11 +02:00
, 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
];
2021-05-26 07:41:48 +02:00
# The conftest hangs on Hydra runners, because they are not logged in.
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with lib; {
2019-07-02 23:58:11 +02:00
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;
};
}