14 stdenv.mkDerivation rec {
15 pname = "the-legend-of-edgar";
18 src = fetchFromGitHub {
19 name = "${pname}-${version}-src";
23 hash = "sha256-ojy4nEW9KiSte/AoFUMPrKCxvIeQpMVIL4ileHiBydo=";
42 makefile = "makefile";
45 "PREFIX=${placeholder "out"}"
46 "BIN_DIR=${placeholder "out"}/bin/"
49 # TODO: remove the setting below when the next version arrives
50 # https://github.com/riksweeney/edgar/pull/57
52 export CFLAGS=$(sdl2-config --cflags)
56 homepage = "https://www.parallelrealities.co.uk/games/edgar";
57 description = "A 2D platform game with a persistent world";
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.
63 Donning his armour, Edgar sets off to rescue him, but his quest will not
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.
70 license = licenses.gpl1Plus;
71 maintainers = with maintainers; [ AndersonTorres ];
72 platforms = platforms.unix;
73 broken = stdenv.isDarwin;