36 lines
711 B
Nix
36 lines
711 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, SDL2
|
|
, SDL2_image
|
|
, SDL2_mixer
|
|
, SDL2_ttf
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lbreakouthd";
|
|
version = "1.0.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
|
hash = "sha256-hlGhPa91u6pOaZoFJSDcXYQdizTFjuuTLnx9fcrXUhA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_mixer
|
|
SDL2_ttf
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.isDarwin;
|
|
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
description = "A widescreen Breakout clone";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
inherit (SDL2.meta) platforms;
|
|
};
|
|
}
|