lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

the-legend-of-edgar: init at 1.35

+77
+75
pkgs/games/the-legend-of-edgar/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL2 5 + , SDL2_image 6 + , SDL2_mixer 7 + , SDL2_ttf 8 + , gettext 9 + , libpng 10 + , pkg-config 11 + , zlib 12 + }: 13 + 14 + stdenv.mkDerivation rec { 15 + pname = "the-legend-of-edgar"; 16 + version = "1.35"; 17 + 18 + src = fetchFromGitHub { 19 + name = "${pname}-${version}-src"; 20 + owner = "riksweeney"; 21 + repo = "edgar"; 22 + rev = version; 23 + hash = "sha256-ojy4nEW9KiSte/AoFUMPrKCxvIeQpMVIL4ileHiBydo="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + pkg-config 28 + gettext 29 + ]; 30 + 31 + buildInputs = [ 32 + SDL2 33 + SDL2_image 34 + SDL2_mixer 35 + SDL2_ttf 36 + libpng 37 + zlib 38 + ]; 39 + 40 + dontConfigure = true; 41 + 42 + makefile = "makefile"; 43 + 44 + makeFlags = [ 45 + "PREFIX=${placeholder "out"}" 46 + "BIN_DIR=${placeholder "out"}/bin/" 47 + ]; 48 + 49 + # TODO: remove the setting below when the next version arrives 50 + # https://github.com/riksweeney/edgar/pull/57 51 + preBuild = '' 52 + export CFLAGS=$(sdl2-config --cflags) 53 + ''; 54 + 55 + meta = with lib; { 56 + homepage = "https://www.parallelrealities.co.uk/games/edgar"; 57 + description = "A 2D platform game with a persistent world"; 58 + longDescription = '' 59 + When Edgar's father fails to return home after venturing out one dark and 60 + stormy night, Edgar fears the worst: he has been captured by the evil 61 + sorcerer who lives in a fortress beyond the forbidden swamp. 62 + 63 + Donning his armour, Edgar sets off to rescue him, but his quest will not 64 + be easy... 65 + 66 + The Legend of Edgar is a platform game, not unlike those found on the 67 + Amiga and SNES. Edgar must battle his way across the world, solving 68 + puzzles and defeating powerful enemies to achieve his quest. 69 + ''; 70 + license = licenses.gpl1Plus; 71 + maintainers = with maintainers; [ AndersonTorres ]; 72 + platforms = platforms.unix; 73 + broken = stdenv.isDarwin; 74 + }; 75 + }
+2
pkgs/top-level/all-packages.nix
··· 31146 31146 31147 31147 tcl2048 = callPackage ../games/tcl2048 { }; 31148 31148 31149 + the-legend-of-edgar = callPackage ../games/the-legend-of-edgar { }; 31150 + 31149 31151 the-powder-toy = callPackage ../games/the-powder-toy { 31150 31152 lua = lua5_1; 31151 31153 };