diff options
author | Simon Lackerbauer <simon@lackerbauer.com> | 2017-06-16 16:32:30 +0200 |
---|---|---|
committer | Simon Lackerbauer <simon@lackerbauer.com> | 2017-06-16 21:37:18 +0200 |
commit | e0c1c51d738304e7851a547a992e0fc27d2a45c8 (patch) | |
tree | 4226f57de9e36157bc750f9b5fe80878d9ac3bf6 /pkgs/games/ltris/default.nix | |
parent | 100cd2af5aadfb457037a989a0ac5c4437b66ea5 (diff) | |
download | nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar.gz nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar.bz2 nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar.lz nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar.xz nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.tar.zst nixlib-e0c1c51d738304e7851a547a992e0fc27d2a45c8.zip |
ltris: init at 1.0.19
Diffstat (limited to 'pkgs/games/ltris/default.nix')
-rw-r--r-- | pkgs/games/ltris/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/games/ltris/default.nix b/pkgs/games/ltris/default.nix new file mode 100644 index 000000000000..10a79a696732 --- /dev/null +++ b/pkgs/games/ltris/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, SDL, SDL_mixer }: + +stdenv.mkDerivation rec { + name = "ltris-${version}"; + version = "1.0.19"; + buildInputs = [ SDL SDL_mixer ]; + + src = fetchurl { + url = "mirror://sourceforge/lgames/${name}.tar.gz"; + sha256 = "1895wv1fqklrj4apkz47rnkcfhfav7zjknskw6p0886j35vrwslg"; + }; + + patchPhase = "patch -p0 < ${./gcc5_compliance.diff}"; + + meta = with stdenv.lib; { + description = "Tetris clone from the LGames series"; + homepage = http://lgames.sourceforge.net/LBreakout2/; + license = licenses.gpl2; + maintainers = [ maintainers.ciil ]; + platforms = platforms.linux; + }; +} |