nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 73 lines 1.5 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 curl, 6 ed, 7 pkg-config, 8 freetype, 9 zlib, 10 libGL, 11 libX11, 12 SDL2, 13 SDL2_image, 14 SDL2_mixer, 15}: 16 17stdenv.mkDerivation (finalAttrs: { 18 pname = "redeclipse"; 19 version = "2.0.0"; 20 21 src = fetchurl { 22 url = "https://github.com/redeclipse/base/releases/download/v${finalAttrs.version}/redeclipse_${finalAttrs.version}_nix.tar.bz2"; 23 sha256 = "143i713ggbk607qr4n39pi0pn8d93x9x6fcbh8rc51jb9qhi8p5i"; 24 }; 25 26 buildInputs = [ 27 libGL 28 libX11 29 freetype 30 zlib 31 SDL2 32 SDL2_image 33 SDL2_mixer 34 ]; 35 36 nativeBuildInputs = [ 37 curl 38 ed 39 pkg-config 40 ]; 41 42 makeFlags = [ 43 "-C" 44 "src/" 45 "prefix=$(out)" 46 ]; 47 48 enableParallelBuilding = true; 49 50 installTargets = [ "system-install" ]; 51 52 postInstall = '' 53 cp -R -t $out/share/redeclipse/data/ data/* 54 ''; 55 56 meta = { 57 description = "First person arena shooter, featuring parkour, impulse boosts, and more"; 58 longDescription = '' 59 Red Eclipse is a fun-filled new take on the first person arena shooter, 60 featuring parkour, impulse boosts, and more. The development is geared 61 toward balanced gameplay, with a general theme of agility in a variety of 62 environments. 63 ''; 64 homepage = "https://www.redeclipse.net"; 65 license = with lib.licenses; [ 66 lib.licenses.zlib 67 cc-by-sa-30 68 ]; 69 maintainers = with lib.maintainers; [ lambda-11235 ]; 70 platforms = lib.platforms.linux; 71 hydraPlatforms = [ ]; 72 }; 73})