about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/garden-of-coloured-lights/default.nix
blob: d38d8936c1a9e8fd4ae705255684492302396ccc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchurl, autoconf, automake, allegro }:

stdenv.mkDerivation rec {
  pname = "garden-of-coloured-lights";
  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 lib; {
    description = "Old-school vertical shoot-em-up / bullet hell";
    homepage = "http://garden.sourceforge.net/drupal/";
    maintainers = with maintainers; [ Profpatsch ];
    license = licenses.gpl3;
  };

}