3
0
Fork 0
forked from mirrors/nixpkgs

crossfire-client: init at 1.75.0

The client is still getting official releases on a fairly frequent basis, so
this package tracks those rather than SVN head.
This commit is contained in:
B. Kelly 2019-08-10 07:03:29 -04:00 committed by Rebecca Kelly
parent 5e65827139
commit 2e4e939240
3 changed files with 39 additions and 1 deletions

View file

@ -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 ];
};
}

View file

@ -1,6 +1,12 @@
{ callPackage, ... }:
rec {
crossfire-client = callPackage ./crossfire-client.nix {
version = "1.75.0";
rev = 21760;
sha256 = "0b42sak8hj60nywfswkps777asy9p8r9wsn7pmj2nqbd29ng1p9d";
};
crossfire-server = callPackage ./crossfire-server.nix {
version = "latest";
rev = 22111;

View file

@ -29097,7 +29097,7 @@ in
crawl = callPackage ../games/crawl { };
inherit (import ../games/crossfire pkgs)
crossfire-server crossfire-arch crossfire-maps;
crossfire-server crossfire-arch crossfire-maps crossfire-client;
crrcsim = callPackage ../games/crrcsim {};