nixpkgs/pkgs/games/ltris/default.nix

23 lines
613 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
2017-06-16 14:32:30 +00:00
stdenv.mkDerivation rec {
pname = "ltris";
2017-06-16 14:32:30 +00:00
version = "1.0.19";
buildInputs = [ SDL SDL_mixer ];
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
2017-06-16 14:32:30 +00:00
sha256 = "1895wv1fqklrj4apkz47rnkcfhfav7zjknskw6p0886j35vrwslg";
};
patchPhase = "patch -p0 < ${./gcc5_compliance.diff}";
meta = with lib; {
2017-06-16 14:32:30 +00:00
description = "Tetris clone from the LGames series";
homepage = "http://lgames.sourceforge.net/LBreakout2/";
2017-06-16 14:32:30 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.ciil ];
platforms = platforms.linux;
};
}