depot/third_party/nixpkgs/pkgs/games/toppler/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

34 lines
752 B
Nix

{ lib, 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
];
# The conftest hangs on Hydra runners, because they are not logged in.
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with 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;
};
}