doomseeker: 1.1 -> 2018-03-03

Fixes build because of newer Glibc incompatibility.
This commit is contained in:
Nikolay Amiantov
2018-03-04 00:19:18 +03:00
parent 6326053490
commit b84fd70d88
3 changed files with 54 additions and 12 deletions
+12 -11
View File
@@ -1,23 +1,24 @@
{ stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }:
{ stdenv, cmake, fetchFromBitbucket, pkgconfig, qtbase, qttools, qtmultimedia, zlib, bzip2 }:
stdenv.mkDerivation rec {
name = "doomseeker-1.1";
name = "doomseeker-${version}";
version = "2018-03-03";
src = fetchurl {
url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2";
sha256 = "0nmq8s842z30ngzikrmfx0xpnk4klxdv37y26chs002rnj010r7h";
src = fetchFromBitbucket {
owner = "Doomseeker";
repo = "doomseeker";
rev = "072110a8fe0643c4a72461e7768560813bb0a62b";
sha256 = "1w4g5f7yifqk2d054dqrmy8qj4n5hxdan7n59845m1xh2f2r8i0p";
};
buildInputs = [ qt4 zlib bzip2 ];
patches = [ ./fix_paths.patch ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
nativeBuildInputs = [ cmake qttools pkgconfig ];
enableParallelBuilding = true;
patchPhase = ''
substituteInPlace src/core/CMakeLists.txt --replace /usr/share/applications "$out"/share/applications
'';
meta = with stdenv.lib; {
homepage = http://doomseeker.drdteam.org/;
description = "Multiplayer server browser for many Doom source ports";