Add Pingus

+32
+29
pkgs/games/pingus/default.nix
··· 1 + {stdenv, fetchurl, scons, SDL, SDL_image, boost, libpng, SDL_mixer, pkgconfig 2 + , mesa}: 3 + let 4 + buildInputs = [scons SDL SDL_image boost libpng SDL_mixer pkgconfig mesa]; 5 + s = # Generated upstream information 6 + rec { 7 + baseName="pingus"; 8 + version="0.7.6"; 9 + name="pingus-0.7.6"; 10 + hash="0q34d2k6anzqvb0mf67x85q92lfx9jr71ry13dlp47jx0x9i573m"; 11 + url="http://pingus.googlecode.com/files/pingus-0.7.6.tar.bz2"; 12 + sha256="0q34d2k6anzqvb0mf67x85q92lfx9jr71ry13dlp47jx0x9i573m"; 13 + }; 14 + in 15 + stdenv.mkDerivation rec { 16 + inherit (s) name version; 17 + inherit buildInputs; 18 + src = fetchurl { 19 + inherit (s) url sha256; 20 + }; 21 + makeFlags = '' PREFIX="$(out)" ''; 22 + meta = { 23 + inherit (s) version; 24 + description = ''A puzzle game with mechanics similar to Lemmings''; 25 + platforms = stdenv.lib.platforms.linux; 26 + maintainers = [stdenv.lib.maintainers.raskin]; 27 + license = stdenv.lib.licenses.gpl3; 28 + }; 29 + }
+1
pkgs/games/pingus/default.upstream
··· 1 + url http://pingus.seul.org/download.html
+2
pkgs/top-level/all-packages.nix
··· 8163 8163 8164 8164 opentyrian = callPackage ../games/opentyrian { }; 8165 8165 8166 + pingus = callPackage ../games/pingus {}; 8167 + 8166 8168 pioneers = callPackage ../games/pioneers { }; 8167 8169 8168 8170 pong3d = callPackage ../games/pong3d { };