alephone: init at 20150620

Packaging of the AlephOne engine and eight of its scenarios.

+282
+99
pkgs/games/alephone/default.nix
··· 1 + { stdenv, fetchurl, boost, curl, ffmpeg, icoutils, libmad, libogg, libpng 2 + , libsndfile, libvorbis, lua, pkgconfig, SDL, SDL_image, SDL_net, SDL_ttf, smpeg 3 + , speex, zziplib, zlib, makeWrapper, makeDesktopItem, unzip, alephone }: 4 + 5 + let 6 + self = stdenv.mkDerivation rec { 7 + outputs = [ "out" "icons" ]; 8 + pname = "alephone"; 9 + version = "20150620"; 10 + 11 + src = fetchurl { 12 + url = 13 + "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${version}/AlephOne-${version}.tar.bz2"; 14 + sha256 = "0cz18fa3gx8mz5j09ywz8gq0r4q082kh6l9pbpwn8qjanzgn1wy0"; 15 + }; 16 + 17 + nativeBuildInputs = [ pkgconfig icoutils ]; 18 + 19 + buildInputs = [ 20 + boost 21 + curl 22 + ffmpeg 23 + libmad 24 + libsndfile 25 + libogg 26 + libpng 27 + libvorbis 28 + lua 29 + SDL 30 + SDL_image 31 + SDL_net 32 + SDL_ttf 33 + smpeg 34 + speex 35 + zziplib 36 + zlib 37 + ]; 38 + 39 + configureFlags = [ "--with-boost=${boost}" ]; 40 + 41 + enableParallelBuilding = true; 42 + 43 + postInstall = '' 44 + mkdir $icons 45 + icotool -x -i 5 -o $icons Resources/Windows/*.ico 46 + pushd $icons 47 + for x in *_5_48x48x32.png; do 48 + mv $x ''${x%_5_48x48x32.png}.png 49 + done 50 + popd 51 + ''; 52 + 53 + meta = with stdenv.lib; { 54 + description = 55 + "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; 56 + homepage = "https://alephone.lhowon.org/"; 57 + license = with licenses; [ gpl3 ]; 58 + maintainers = with maintainers; [ ehmry ]; 59 + platforms = platforms.linux; 60 + }; 61 + }; 62 + 63 + in self // { 64 + makeWrapper = { pname, desktopName, version, zip, meta 65 + , icon ? alephone.icons + "/alephone.png", ... }@extraArgs: 66 + stdenv.mkDerivation ({ 67 + inherit pname version; 68 + 69 + desktopItem = makeDesktopItem { 70 + name = desktopName; 71 + exec = pname; 72 + genericName = pname; 73 + categories = "Game;"; 74 + comment = meta.description; 75 + inherit desktopName icon; 76 + }; 77 + 78 + src = zip; 79 + 80 + nativeBuildInputs = [ makeWrapper unzip ]; 81 + 82 + dontConfigure = true; 83 + dontBuild = true; 84 + 85 + installPhase = '' 86 + mkdir -p $out/bin $out/data/$pname $out/share/applications 87 + cp -a * $out/data/$pname 88 + cp $desktopItem/share/applications/* $out/share/applications 89 + makeWrapper ${alephone}/bin/alephone $out/bin/$pname \ 90 + --add-flags $out/data/$pname 91 + ''; 92 + 93 + meta = with stdenv.lib; 94 + { 95 + maintainers = with maintainers; [ ehmry ]; 96 + inherit (alephone.meta) platforms; 97 + } // meta; 98 + } // extraArgs); 99 + }
+25
pkgs/games/alephone/durandal/default.nix
··· 1 + { alephone, fetchurl }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "durandal"; 5 + desktopName = "Marathon-Durandal"; 6 + version = "20150620"; 7 + icon = alephone.icons + "/marathon2.png"; 8 + 9 + zip = fetchurl { 10 + url = 11 + "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${version}/Marathon2-${version}-Data.zip"; 12 + sha256 = "1gpg0dk3z8irvdkm4nj71v14lqx77109chqr2ly594jqf6j9wwqv"; 13 + }; 14 + 15 + meta = { 16 + description = "Second chapter of the Marathon trilogy"; 17 + longDescription = '' 18 + Fresh from your triumph on the starship Marathon, you are seized by the rogue computer Durandal to do his bidding in a distant part of the galaxy. Within the ruins of an ancient civilization, you must seek the remnants of a lost clan and uncover their long-buried secrets. Battle opponents ancient and terrible, with sophisticated weapons and devious strategies, all the while struggling to escape the alien nightmare… 19 + 20 + This release of Marathon 2: Durandal includes the classic graphics, and revamped high-definition textures and monsters from the Xbox Live Arcade edition. 21 + ''; 22 + homepage = "https://alephone.lhowon.org/games/marathon2.html"; 23 + }; 24 + 25 + }
+21
pkgs/games/alephone/eternal/default.nix
··· 1 + { alephone, fetchurl, unrar }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon-eternal"; 5 + version = "1.2.0"; 6 + desktopName = "Marathon-Eternal"; 7 + 8 + zip = fetchurl { 9 + url = "http://eternal.bungie.org/files/_releases/EternalXv120.zip"; 10 + sha256 = "1qrvx0sp9xc8zbpp5yz8jdz458ajzmyv2si7hrppiyawc8dpcwck"; 11 + }; 12 + 13 + sourceRoot = "Eternal 1.2.0"; 14 + 15 + meta = { 16 + description = 17 + "Picking up from the end of the Marathon trilogy, you find yourself suddenly ninety-four years in the future, in the year 2905"; 18 + homepage = "http://eternal.bungie.org/"; 19 + }; 20 + 21 + }
+18
pkgs/games/alephone/evil/default.nix
··· 1 + { alephone, fetchurl, unrar }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon-evil"; 5 + version = "0"; 6 + desktopName = "Marathon-Evil"; 7 + 8 + zip = fetchurl { 9 + url = "http://files3.bungie.org/trilogy/MarathonEvil.zip"; 10 + sha256 = "08nizbjp2rx10bpqrbhb76as0j2zynmy2c0qa5b482lz1szf9b95"; 11 + }; 12 + 13 + meta = { 14 + description = "The first conversion for Marathon Infinity"; 15 + homepage = "https://alephone.lhowon.org/scenarios.html"; 16 + }; 17 + 18 + }
+25
pkgs/games/alephone/infinity/default.nix
··· 1 + { alephone, fetchurl }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon-infinity"; 5 + desktopName = "Marathon-Infinity"; 6 + version = "20150620"; 7 + icon = alephone.icons + "/marathon-infinity.png"; 8 + 9 + zip = fetchurl { 10 + url = 11 + "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${version}/MarathonInfinity-${version}-Data.zip"; 12 + sha256 = "0sgfahppanp9c0p115dg0makrdzghzmbz3iggl6x28fh62j03q64"; 13 + }; 14 + 15 + meta = { 16 + description = "Third chapter of the Marathon trilogy"; 17 + longDescription = '' 18 + Marathon Infinity takes the closed universe of the Marathon series and blows it wide open. The solo/co-op campaign, “Blood Tides of Lh’owon,” is a 20-level scenario sporting new textures, weapons, and aliens. More than that, the scenario sheds a surprising new light on the story’s characters and the meaning of events. Having defeated the Pfhor and reawakened the ancient remnants of the S’pht, the player now faces a world where friends become enemies and all is not what it seems… 19 + 20 + Marathon Infinity is the most popular Marathon game in online play, and is compatible with hundreds of community-made maps. This release includes the classic graphics, and revamped high-definition textures and weapons. 21 + ''; 22 + homepage = "https://alephone.lhowon.org/games/infinity.html"; 23 + }; 24 + 25 + }
+25
pkgs/games/alephone/marathon/default.nix
··· 1 + { alephone, fetchurl }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon"; 5 + desktopName = "Marathon"; 6 + version = "20150620"; 7 + icon = alephone.icons + "/marathon.png"; 8 + 9 + zip = fetchurl { 10 + url = 11 + "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${version}/Marathon-${version}-Data.zip"; 12 + sha256 = "0cagsigsjlsr8jqfaqjdxv8fs0f079cjzs26679aacyykc6b8k3p"; 13 + }; 14 + 15 + meta = { 16 + description = "First chapter of the Marathon trilogy"; 17 + longDescription = '' 18 + Alien forces have boarded the interstellar colony ship Marathon. The situation is dire. As a security officer onboard, it is your duty to defend the ship and its crew. 19 + 20 + Experience the start of Bungie’s iconic trilogy with Marathon. This release uses the original Marathon data files for the most authentic experience outside of a classic Mac or emulator. 21 + ''; 22 + homepage = "https://alephone.lhowon.org/games/marathon.html"; 23 + }; 24 + 25 + }
+18
pkgs/games/alephone/pheonix/default.nix
··· 1 + { alephone, fetchurl }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon-pheonix"; 5 + desktopName = "Marathon-Pheonix"; 6 + version = "1.3"; 7 + 8 + zip = fetchurl { 9 + url = "http://simplici7y.com/version/file/998/Marathon_Phoenix_1.3.zip"; 10 + sha256 = "1r06k0z8km7l9d3njinsrci4jhk8hrnjdcmjd8n5z2qxkqvhn9qj"; 11 + }; 12 + 13 + meta = { 14 + description = "A 35-level single player major Marathon conversion"; 15 + homepage = "http://www.simplici7y.com/items/marathon-phoenix-2"; 16 + }; 17 + 18 + }
+18
pkgs/games/alephone/red/default.nix
··· 1 + { alephone, fetchurl, unrar }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "marathon-red"; 5 + version = "0"; 6 + desktopName = "Marathon-Red"; 7 + 8 + zip = fetchurl { 9 + url = "http://files3.bungie.org/trilogy/MarathonRED.zip"; 10 + sha256 = "1p13snlrvn39znvfkxql67crhysn71db2bwsfrkhjkq58wzs6qgw"; 11 + }; 12 + 13 + meta = { 14 + description = "Survival horror-esque Marathon conversion"; 15 + homepage = "https://alephone.lhowon.org/scenarios.html"; 16 + }; 17 + 18 + }
+23
pkgs/games/alephone/rubicon-x/default.nix
··· 1 + { alephone, fetchurl }: 2 + 3 + alephone.makeWrapper rec { 4 + pname = "rubicon-x"; 5 + version = "20150620"; 6 + desktopName = "Marathon-Rubicon-X"; 7 + 8 + zip = fetchurl { 9 + url = "http://files5.bungie.org/marathon/marathonRubiconX.zip"; 10 + sha256 = "095si89wap76pvkvk90zqw7djhrhwb1anjm2s8i503jbcn5n4ipm"; 11 + }; 12 + 13 + sourceRoot = "Rubicon X ƒ"; 14 + 15 + meta = { 16 + description = "Unofficial forth chapter of the Marathon series"; 17 + longDescription = '' 18 + Rubicon X is a free, cross platform, first person shooter that continues the story of Bungie’s Marathon trilogy. First released as Marathon:Rubicon in 2001, Rubicon X is a complete overhaul of the original. It features all new high-resolution artwork, new and updated maps, and enough surprises to feel like a whole new game. 19 + ''; 20 + homepage = "http://www.marathonrubicon.com/"; 21 + }; 22 + 23 + }
+10
pkgs/top-level/all-packages.nix
··· 22903 22903 22904 22904 airstrike = callPackage ../games/airstrike { }; 22905 22905 22906 + alephone = callPackage ../games/alephone { ffmpeg = ffmpeg_2; }; 22907 + alephone-durandal = callPackage ../games/alephone/durandal { }; 22908 + alephone-eternal = callPackage ../games/alephone/eternal { }; 22909 + alephone-evil = callPackage ../games/alephone/evil { }; 22910 + alephone-infinity = callPackage ../games/alephone/infinity { }; 22911 + alephone-marathon = callPackage ../games/alephone/marathon { }; 22912 + alephone-pheonix = callPackage ../games/alephone/pheonix { }; 22913 + alephone-red = callPackage ../games/alephone/red { }; 22914 + alephone-rubicon-x = callPackage ../games/alephone/rubicon-x { }; 22915 + 22906 22916 alienarena = callPackage ../games/alienarena { }; 22907 22917 22908 22918 amoeba = callPackage ../games/amoeba { };