forked from mirrors/nixpkgs
27 lines
620 B
Nix
27 lines
620 B
Nix
{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ltris";
|
|
version = "1.2.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
|
hash = "sha256-1ut7MBAjJ4YE2SkqkvL9L1ED7kEqdaEm0lUOLsI2j4M=";
|
|
};
|
|
|
|
buildInputs = [
|
|
SDL
|
|
SDL_mixer
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://lgames.sourceforge.io/LTris/";
|
|
description = "Tetris clone from the LGames series";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ciil ];
|
|
inherit (SDL.meta) platforms;
|
|
};
|
|
}
|