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:
parent
5e65827139
commit
2e4e939240
32
pkgs/games/crossfire/crossfire-client.nix
Normal file
32
pkgs/games/crossfire/crossfire-client.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue