git.iko.soy/typeable/nixpkgs
on master help sign in
zeroad: 0.0.20 -> 0.0.21
commit292bb8f4c3048b38b3a7e1804db6ecd433ffbc21 authorNikolay Amiantov <ab@fmap.me> dateFri 11 Nov 2016, 01:32 (10 years ago) parentbc5b9a3
2 files changed+12−7
pkgs/games/0ad/data.nix+2−2 pkgs/games/0ad/game.nix+10−5
pkgs/games/0ad/data.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "0ad-data-${version}";
5− version = "0.0.20";
5+ version = "0.0.21";
66
77 src = fetchurl {
88 url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
9− sha256 = "1lzl8chfqbgs1n9vpn0xaqd70kpwiibfk196iblyq6qkms3v6pnv";
9+ sha256 = "15xadyrpvq27lm9p1ny7bcmmv56m16h3xadbkdx69gfkzxc3razk";
1010 };
1111
1212 installPhase = ''
pkgs/games/0ad/game.nix+10−5
@@ -1,5 +1,5 @@
11{ stdenv, lib, callPackage, perl, fetchurl, python2
2−, pkgconfig, spidermonkey_31, boost, icu, libxml2, libpng
2+, pkgconfig, spidermonkey_38, boost, icu, libxml2, libpng
33, libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc
44, openal, mesa, xproto, libX11, libXcursor, nspr, SDL, SDL2
55, gloox, nvidia-texture-tools
@@ -10,17 +10,17 @@ assert withEditor -> wxGTK != null;
1010
1111stdenv.mkDerivation rec {
1212 name = "0ad-${version}";
13− version = "0.0.20";
13+ version = "0.0.21";
1414
1515 src = fetchurl {
1616 url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-build.tar.xz";
17− sha256 = "13n61xhjsawda3kl7112la41bqkbqmq4yhr3slydsz856z5xb5m3";
17+ sha256 = "1kw3hqnr737ipx4f03khz3hvsh3ha7r8iy9njppk2faa53j27gln";
1818 };
1919
2020 nativeBuildInputs = [ python2 perl pkgconfig ];
2121
2222 buildInputs = [
23− spidermonkey_31 boost icu libxml2 libpng libjpeg
23+ spidermonkey_38 boost icu libxml2 libpng libjpeg
2424 zlib curl libogg libvorbis enet miniupnpc openal
2525 mesa xproto libX11 libXcursor nspr SDL2 gloox
2626 nvidia-texture-tools
@@ -44,11 +44,16 @@ stdenv.mkDerivation rec {
4444 # Delete shipped libraries which we don't need.
4545 rm -rf libraries/source/{enet,miniupnpc,nvtt,spidermonkey}
4646
47+ # Workaround invalid pkgconfig name for mozjs
48+ mkdir pkgconfig
49+ ln -s ${spidermonkey_38}/lib/pkgconfig/* pkgconfig/mozjs-38.pc
50+ PKG_CONFIG_PATH="$PWD/pkgconfig:$PKG_CONFIG_PATH"
51+
4752 # Update Makefiles
4853 pushd build/workspaces
4954 ./update-workspaces.sh \
5055 --with-system-nvtt \
51− --with-system-mozjs31 \
56+ --with-system-mozjs38 \
5257 ${lib.optionalString withEditor "--enable-atlas"} \
5358 --bindir="$out"/bin \
5459 --libdir="$out"/lib/0ad \