tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lbreakout2: fix build on Darwin
Vincent Laporte
8 years ago
2d64e1b7
507c2079
+5
-4
1 changed file
expand all
collapse all
unified
split
pkgs
games
lbreakout2
default.nix
+5
-4
pkgs/games/lbreakout2/default.nix
···
1
1
-
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng }:
1
1
+
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintlOrEmpty }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "lbreakout2-${version}";
5
5
version = "2.6.5";
6
6
-
buildInputs = [ SDL SDL_mixer zlib libpng ];
6
6
+
buildInputs = [ SDL SDL_mixer zlib libpng ] ++ libintlOrEmpty;
7
7
8
8
src = fetchurl {
9
9
url = "mirror://sourceforge/lgames/${name}.tar.gz";
10
10
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
11
11
};
12
12
13
13
+
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
14
14
+
13
15
meta = with stdenv.lib; {
14
16
description = "Breakout clone from the LGames series";
15
17
homepage = http://lgames.sourceforge.net/LBreakout2/;
16
18
license = licenses.gpl2;
17
19
maintainers = [ maintainers.ciil ];
18
18
-
platforms = platforms.linux;
20
20
+
platforms = platforms.unix;
19
21
};
20
22
}
21
21
-