@@ -4,29 +4,25 @@
44}:
55
66stdenv.mkDerivation rec {
7− version = "0.4.7.1";
7+ version = "0.4.8";
88 name = "freeorion-${version}";
99
1010 src = fetchFromGitHub {
1111 owner = "freeorion";
1212 repo = "freeorion";
13− rev = "v${version}";
14− sha256 = "1m05l3a6ilqd7p2g3aqjpq89grb571cg8n9bpgz0y3sxskcym6sp";
13+ rev = "v${version}";
14+ sha256 = "1lj1q2ljjgbbiqxb53wdrrcz0zxxr3vv9jqrhbzvfsss7q808jfw";
1515 };
1616
17− buildInputs = [ boost SDL2 python2 freetype openal libogg libvorbis zlib libpng libtiff libjpeg libGLU_combined glew ];
17+ buildInputs = [
18+ (boost.override { enablePython = true; })
19+ SDL2 python2 freetype openal libogg libvorbis zlib libpng libtiff libjpeg libGLU_combined glew ];
1820
1921 nativeBuildInputs = [ cmake doxygen graphviz makeWrapper ];
2022
2123 enableParallelBuilding = true;
2224
2325 patches = [
24− # fix build with boost 1.66
25− (fetchpatch {
26− url = https://github.com/freeorion/freeorion/commit/c9b5b13fb81b1ed142dee0e843101c6b8832ca95.patch;
27− sha256 = "0agqhxk8462sgd230lmdzbrbrfd77zyy7a4g8hrf28zxza1nza94";
28− })
29− ./fix_rpaths.patch
3026 ];
3127
3228 postInstall = ''
@@ -41,7 +37,8 @@ stdenv.mkDerivation rec {
4137 chmod +x $out/fixpaths/fix-paths
4238
4339 wrapProgram $out/bin/freeorion \
44− --run $out/fixpaths/fix-paths
40+ --run $out/fixpaths/fix-paths \
41+ --prefix LD_LIBRARY_PATH : $out/lib/freeorion
4542 '';
4643
4744 meta = with stdenv.lib; {
@@ -49,5 +46,6 @@ stdenv.mkDerivation rec {
4946 homepage = http://www.freeorion.org;
5047 license = with licenses; [ gpl2 cc-by-sa-30 ];
5148 platforms = platforms.linux;
49+ maintainers = with maintainers; [ tex ];
5250 };
5351}