diff --git a/pkgs/games/garden-of-coloured-lights/default.nix b/pkgs/games/garden-of-coloured-lights/default.nix new file mode 100644 index 000000000000..b8550b3712e3 --- /dev/null +++ b/pkgs/games/garden-of-coloured-lights/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, autoconf, automake, allegro }: + +stdenv.mkDerivation rec { + name = "garden-of-coloured-lights-${version}"; + version = "1.0.9"; + + buildInputs = [ allegro autoconf automake ]; + + prePatch = '' + noInline='s/inline //' + sed -e "$noInline" -i src/stuff.c + sed -e "$noInline" -i src/stuff.h + ''; + + src = fetchurl { + url = "mirror://sourceforge/garden/${version}/garden-${version}.tar.gz"; + sha256 = "1qsj4d7r22m5f9f5f6cyvam1y5q5pbqvy5058r7w0k4s48n77y6s"; + }; + + meta = with stdenv.lib; { + description = "Old-school vertical shoot-em-up / bullet hell"; + homepage = http://garden.sourceforge.net/drupal/; + maintainers = with maintainers; [ profpatsch ]; + license = licenses.gpl3; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 78fd1a78662c..d1f7876c8dfa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6936,7 +6936,8 @@ with pkgs; agg = callPackage ../development/libraries/agg { }; - allegro = callPackage ../development/libraries/allegro {}; + allegro = allegro4; + allegro4 = callPackage ../development/libraries/allegro {}; allegro5 = callPackage ../development/libraries/allegro/5.nix {}; amrnb = callPackage ../development/libraries/amrnb { }; @@ -16392,6 +16393,8 @@ with pkgs; gambatte = callPackage ../games/gambatte { }; + garden-of-coloured-lights = callPackage ../games/garden-of-coloured-lights { allegro = allegro4; }; + gav = callPackage ../games/gav { }; gcs = callPackage ../games/gcs { };