tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
zeroad: 0.0.25b -> 0.0.26
Daniel Thwaites
3 years ago
80bd40cd
48e5acbb
+6
-13
2 changed files
expand all
collapse all
unified
split
pkgs
games
0ad
data.nix
game.nix
+1
-1
pkgs/games/0ad/data.nix
···
6
7
src = fetchurl {
8
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
9
-
sha256 = "1c9zrddmjxvvacismld6fbwbw9vrdbq6g6d3424p8w5p6xg5wlwy";
10
};
11
12
installPhase = ''
···
6
7
src = fetchurl {
8
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
9
+
sha256 = "sgDkhVj4goB5EOPGhlZ7ajliSNnUGAROz94JCwV3LX0=";
10
};
11
12
installPhase = ''
+5
-12
pkgs/games/0ad/game.nix
···
2
, pkg-config, spidermonkey_78, boost, icu, libxml2, libpng, libsodium
3
, libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc
4
, openal, libGLU, libGL, xorgproto, libX11, libXcursor, nspr, SDL2
5
-
, gloox, nvidia-texture-tools
6
, withEditor ? true, wxGTK
7
}:
8
···
26
in
27
stdenv.mkDerivation rec {
28
pname = "0ad";
29
-
version = "0.0.25b";
30
31
src = fetchurl {
32
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-build.tar.xz";
33
-
sha256 = "1p9fa8f7sjb9c5wl3mawzyfqvgr614kdkhrj2k4db9vkyisws3fp";
34
};
35
36
nativeBuildInputs = [ python3 perl pkg-config ];
···
39
spidermonkey_78_6 boost icu libxml2 libpng libjpeg
40
zlib curl libogg libvorbis enet miniupnpc openal libidn
41
libGLU libGL xorgproto libX11 libXcursor nspr SDL2 gloox
42
-
nvidia-texture-tools libsodium fmt
43
] ++ lib.optional withEditor wxGTK;
44
45
NIX_CFLAGS_COMPILE = toString [
···
50
"-I${fmt.dev}/include"
51
];
52
53
-
patches = [
54
-
./rootdir_env.patch
55
-
(fetchpatch {
56
-
# fix build with gcc11 and glibc 2.35
57
-
url = "https://github.com/0ad/0ad/commit/7df614338cbd41f5e254ce75f649490b2637e1d0.patch";
58
-
hash = "sha256-QZvcNm8Zni3aJnMPueft0OITf8zeMDXWBjOLYoirJs0=";
59
-
})
60
-
];
61
62
configurePhase = ''
63
# Delete shipped libraries which we don't need.
···
2
, pkg-config, spidermonkey_78, boost, icu, libxml2, libpng, libsodium
3
, libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc
4
, openal, libGLU, libGL, xorgproto, libX11, libXcursor, nspr, SDL2
5
+
, gloox, nvidia-texture-tools, freetype
6
, withEditor ? true, wxGTK
7
}:
8
···
26
in
27
stdenv.mkDerivation rec {
28
pname = "0ad";
29
+
version = "0.0.26";
30
31
src = fetchurl {
32
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-build.tar.xz";
33
+
sha256 = "Lhxt9+MxLnfF+CeIZkz/w6eNO/YGBsAAOSdeHRPA7ks=";
34
};
35
36
nativeBuildInputs = [ python3 perl pkg-config ];
···
39
spidermonkey_78_6 boost icu libxml2 libpng libjpeg
40
zlib curl libogg libvorbis enet miniupnpc openal libidn
41
libGLU libGL xorgproto libX11 libXcursor nspr SDL2 gloox
42
+
nvidia-texture-tools libsodium fmt freetype
43
] ++ lib.optional withEditor wxGTK;
44
45
NIX_CFLAGS_COMPILE = toString [
···
50
"-I${fmt.dev}/include"
51
];
52
53
+
patches = [ ./rootdir_env.patch ];
0
0
0
0
0
0
0
54
55
configurePhase = ''
56
# Delete shipped libraries which we don't need.