depot/third_party/nixpkgs/pkgs/games/ltris/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
613 B
Nix

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