The client is still getting official releases on a fairly frequent basis, so this package tracks those rather than SVN head.main
parent
5e65827139
commit
2e4e939240
@ -0,0 +1,32 @@ |
||||
{ stdenv, lib, fetchsvn |
||||
, cmake, pkg-config, perl, vala |
||||
, gtk2, pcre, zlib, libpng, fribidi, harfbuzzFull, xorg, util-linux, curl |
||||
, SDL, SDL_image, SDL_mixer, libselinux, libsepol |
||||
, version, rev, sha256 |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "crossfire-client"; |
||||
version = "r${toString rev}"; |
||||
|
||||
src = fetchsvn { |
||||
url = "http://svn.code.sf.net/p/crossfire/code/client/trunk/"; |
||||
sha256 = sha256; |
||||
rev = rev; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config perl vala ]; |
||||
buildInputs = [ |
||||
gtk2 pcre zlib libpng fribidi harfbuzzFull xorg.libpthreadstubs |
||||
xorg.libXdmcp curl SDL SDL_image SDL_mixer util-linux libselinux libsepol |
||||
]; |
||||
hardeningDisable = [ "format" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "GTKv2 client for the Crossfire free MMORPG"; |
||||
homepage = "http://crossfire.real-time.com/"; |
||||
license = licenses.gpl2Plus; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ ToxicFrog ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue