From 07bf113bbe79640ad044177751b2da9dc94b70c2 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 21 Feb 2017 21:41:45 +0100 Subject: [PATCH] garden-of-coloured-lights: init at 1.0.9 --- .../garden-of-coloured-lights/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 pkgs/games/garden-of-coloured-lights/default.nix 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 { };