@@ -0,0 +1,27 @@
1+{ stdenv, fetchurl, autoconf, automake, allegro }:
2+
3+stdenv.mkDerivation rec {
4+ name = "garden-of-coloured-lights-${version}";
5+ version = "1.0.9";
6+
7+ buildInputs = [ allegro autoconf automake ];
8+
9+ prePatch = ''
10+ noInline='s/inline //'
11+ sed -e "$noInline" -i src/stuff.c
12+ sed -e "$noInline" -i src/stuff.h
13+ '';
14+
15+ src = fetchurl {
16+ url = "mirror://sourceforge/garden/${version}/garden-${version}.tar.gz";
17+ sha256 = "1qsj4d7r22m5f9f5f6cyvam1y5q5pbqvy5058r7w0k4s48n77y6s";
18+ };
19+
20+ meta = with stdenv.lib; {
21+ description = "Old-school vertical shoot-em-up / bullet hell";
22+ homepage = http://garden.sourceforge.net/drupal/;
23+ maintainers = with maintainers; [ profpatsch ];
24+ license = licenses.gpl3;
25+ };
26+
27+}