2019-08-03 00:16:16 +01:00
|
|
|
{ stdenv, lib, fetchsvn,
|
|
|
|
version, rev, sha256 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "crossfire-maps";
|
2022-04-30 01:29:15 +01:00
|
|
|
version = rev;
|
2019-08-03 00:16:16 +01:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
|
2022-04-30 01:29:15 +01:00
|
|
|
inherit sha256;
|
|
|
|
rev = "r${rev}";
|
2019-08-03 00:16:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out"
|
|
|
|
cp -a . "$out/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Map data for the Crossfire free MMORPG";
|
|
|
|
homepage = "http://crossfire.real-time.com/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
hydraPlatforms = [];
|
|
|
|
maintainers = with maintainers; [ ToxicFrog ];
|
|
|
|
};
|
|
|
|
}
|