nixpkgs-suyu/pkgs/games/pingus/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
908 B
Nix
Raw Permalink Normal View History

2021-01-15 05:31:39 +01:00
{lib, stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer
, pkg-config, libGLU, libGL, git, jsoncpp }:
stdenv.mkDerivation rec {
pname = "pingus";
version = "unstable-0.7.6.0.20191104";
nativeBuildInputs = [ cmake pkg-config git ];
buildInputs = [ SDL2 SDL2_image boost libpng SDL2_mixer libGLU libGL jsoncpp ];
src = fetchgit {
url = "https://gitlab.com/pingus/pingus/";
rev = "709546d9b9c4d6d5f45fc9112b45ac10c7f9417d";
2020-06-01 10:59:41 +02:00
sha256 = "11mmzk0766riaw5qyd1r5i7s7vczbbzfccm92bvgrm99iy1sj022";
fetchSubmodules = true;
2012-12-01 21:18:42 +01:00
};
postPatch = ''
# Fix missing gcc-13 headers
sed -e '1i #include <cstdint>' -i src/util/pathname.hpp
'';
2012-12-01 21:18:42 +01:00
meta = {
description = "A puzzle game with mechanics similar to Lemmings";
mainProgram = "pingus";
2021-01-15 05:31:39 +01:00
platforms = lib.platforms.linux;
maintainers = [lib.maintainers.raskin];
license = lib.licenses.gpl3;
2012-12-01 21:18:42 +01:00
};
}