diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-12-02 00:18:42 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-12-02 00:23:28 +0400 |
commit | e9c35e9381ebb915d442fa3a8a0ee3cf040eabbb (patch) | |
tree | 3c134b7e3a2cfc74ab5c7c1d75458ee7a7b143d0 /pkgs/games | |
parent | cf68e76f1408ee87670c8e7bed0b7c80555417f6 (diff) |
Add Pingus
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/pingus/default.nix | 29 | ||||
-rw-r--r-- | pkgs/games/pingus/default.upstream | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/pingus/default.nix b/pkgs/games/pingus/default.nix new file mode 100644 index 0000000000000..43cdc2031bf52 --- /dev/null +++ b/pkgs/games/pingus/default.nix @@ -0,0 +1,29 @@ +{stdenv, fetchurl, scons, SDL, SDL_image, boost, libpng, SDL_mixer, pkgconfig +, mesa}: +let + buildInputs = [scons SDL SDL_image boost libpng SDL_mixer pkgconfig mesa]; + s = # Generated upstream information + rec { + baseName="pingus"; + version="0.7.6"; + name="pingus-0.7.6"; + hash="0q34d2k6anzqvb0mf67x85q92lfx9jr71ry13dlp47jx0x9i573m"; + url="http://pingus.googlecode.com/files/pingus-0.7.6.tar.bz2"; + sha256="0q34d2k6anzqvb0mf67x85q92lfx9jr71ry13dlp47jx0x9i573m"; + }; +in +stdenv.mkDerivation rec { + inherit (s) name version; + inherit buildInputs; + src = fetchurl { + inherit (s) url sha256; + }; + makeFlags = '' PREFIX="$(out)" ''; + meta = { + inherit (s) version; + description = ''A puzzle game with mechanics similar to Lemmings''; + platforms = stdenv.lib.platforms.linux; + maintainers = [stdenv.lib.maintainers.raskin]; + license = stdenv.lib.licenses.gpl3; + }; +} diff --git a/pkgs/games/pingus/default.upstream b/pkgs/games/pingus/default.upstream new file mode 100644 index 0000000000000..6b4eb31aa5f6d --- /dev/null +++ b/pkgs/games/pingus/default.upstream @@ -0,0 +1 @@ +url http://pingus.seul.org/download.html |