crossfire-server: r22111 -> git@2025-04-16
This updates the server, maps, and archetypes in lockstep, since changes to the server means it needs updated data files and changes to the data need the new server to load them. It also updates the build configuration to use the new git repo, and drops the no longer needed cstdint patch.
This commit is contained in:
committed by
Rebecca Kelly
parent
c73deb7619
commit
8124a94557
@@ -1,20 +1,19 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchsvn,
|
||||
fetchgit,
|
||||
version,
|
||||
rev,
|
||||
sha256,
|
||||
hash,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "crossfire-arch";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/arch/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/crossfire/crossfire-arch";
|
||||
inherit hash rev;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchsvn,
|
||||
fetchgit,
|
||||
version,
|
||||
rev,
|
||||
sha256,
|
||||
hash,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "crossfire-maps";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/crossfire/crossfire-maps";
|
||||
inherit hash rev;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchsvn,
|
||||
fetchgit,
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
@@ -12,7 +12,7 @@
|
||||
python3,
|
||||
version,
|
||||
rev,
|
||||
sha256,
|
||||
hash,
|
||||
maps,
|
||||
arch,
|
||||
}:
|
||||
@@ -21,16 +21,11 @@ stdenv.mkDerivation {
|
||||
pname = "crossfire-server";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/server/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/crossfire/crossfire-server";
|
||||
inherit hash rev;
|
||||
};
|
||||
|
||||
patches = [
|
||||
./add-cstdint-include-to-crossfire-server.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
@@ -56,7 +51,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = true; # cfpython.c:63:10: fatal error: node.h: No such file or directory
|
||||
description = "Server for the Crossfire free MMORPG";
|
||||
homepage = "http://crossfire.real-time.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
@@ -9,21 +9,21 @@ rec {
|
||||
|
||||
crossfire-server = callPackage ./crossfire-server.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "04fjif6zv642n2zlw27cgzkak2kknwrxqzg42bvzl7q901bsr9l7";
|
||||
rev = "5f742b9f9f785e4a59a3a463bee1f31c9bc67098";
|
||||
hash = "sha256-e7e3xN7B1cv9+WkZGzOJgrFer50Cs0L/2dYB9RmGCiE=";
|
||||
maps = crossfire-maps;
|
||||
arch = crossfire-arch;
|
||||
};
|
||||
|
||||
crossfire-arch = callPackage ./crossfire-arch.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "0l4rp3idvbhknpxxs0w4i4nqfg01wblzm4v4j375xwxxbf00j0ms";
|
||||
rev = "876eb50b9199e9aa06175b7a7d85832662be3f78";
|
||||
hash = "sha256-jDiAKcjWYvjGiD68LuKlZS4sOR9jW3THp99kAEdE+y0=";
|
||||
};
|
||||
|
||||
crossfire-maps = callPackage ./crossfire-maps.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "1dwfc84acjvbjgjakkb8z8pdlksbsn90j0z8z8rq37lqx0kx1sap";
|
||||
rev = "ec57d473064ed1732adb1897415b56f96fbd9382";
|
||||
hash = "sha256-hJOMa8c80T4/NC37NKM270LDHNqWK6NZfKvKnFno9TE=";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user