3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/doomseeker/default.nix
2015-12-13 15:14:18 +03:00

31 lines
837 B
Nix

{ stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }:
stdenv.mkDerivation rec {
name = "doomseeker-1.0";
src = fetchurl {
url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2";
sha256 = "172ybxg720r64hp6aah0hqvxklqv1cf8v7kwx0ng5ap0h20jydbw";
};
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
buildInputs = [ qt4 zlib bzip2 ];
nativeBuildInputs = [ cmake pkgconfig ];
enableParallelBuilding = true;
patchPhase = ''
sed -e 's#/usr/share/applications#$out/share/applications#' -i src/core/CMakeLists.txt
'';
meta = {
homepage = http://doomseeker.drdteam.org/;
description = "Multiplayer server browser for many Doom source ports";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ MP2E ];
};
}