mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
5e65827139
This adds the Crossfire server package and the corresponding data packages (maps and archetypes). Note that this tracks a recent SVN commit; the latest official release is many years old and no longer widely used (or supported).
28 lines
612 B
Nix
28 lines
612 B
Nix
{ stdenv, lib, fetchsvn,
|
|
version, rev, sha256 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "crossfire-maps";
|
|
version = "r${toString rev}";
|
|
|
|
src = fetchsvn {
|
|
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
|
|
sha256 = sha256;
|
|
rev = rev;
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|