at 24.05-pre 48 lines 1.4 kB view raw
1{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch 2, curl, ed, pkg-config, freetype, zlib, libX11 3, SDL2, SDL2_image, SDL2_mixer 4}: 5 6stdenv.mkDerivation rec { 7 pname = "redeclipse"; 8 version = "2.0.0"; 9 10 src = fetchurl { 11 url = "https://github.com/redeclipse/base/releases/download/v${version}/redeclipse_${version}_nix.tar.bz2"; 12 sha256 = "143i713ggbk607qr4n39pi0pn8d93x9x6fcbh8rc51jb9qhi8p5i"; 13 }; 14 15 buildInputs = [ 16 libX11 freetype zlib 17 SDL2 SDL2_image SDL2_mixer 18 ]; 19 20 nativeBuildInputs = [ 21 curl ed pkg-config 22 ]; 23 24 makeFlags = [ "-C" "src/" "prefix=$(out)" ]; 25 26 enableParallelBuilding = true; 27 28 installTargets = [ "system-install" ]; 29 30 postInstall = '' 31 cp -R -t $out/share/redeclipse/data/ data/* 32 ''; 33 34 meta = with lib; { 35 description = "A first person arena shooter, featuring parkour, impulse boosts, and more"; 36 longDescription = '' 37 Red Eclipse is a fun-filled new take on the first person arena shooter, 38 featuring parkour, impulse boosts, and more. The development is geared 39 toward balanced gameplay, with a general theme of agility in a variety of 40 environments. 41 ''; 42 homepage = "https://www.redeclipse.net"; 43 license = with licenses; [ licenses.zlib cc-by-sa-30 ]; 44 maintainers = with maintainers; [ lambda-11235 ]; 45 platforms = platforms.linux; 46 hydraPlatforms = []; 47 }; 48}