about summary refs log tree commit diff
path: root/pkgs/games/crossfire/crossfire-maps.nix
diff options
context:
space:
mode:
authorB. Kelly <bk@ancilla.ca>2019-08-02 19:16:16 -0400
committerRebecca Kelly <btk@google.com>2021-08-27 21:54:36 -0400
commit5e65827139f158bb5f9d3040f3083146bec786a3 (patch)
treeb61f64d27cb3bf81535328f8160f8405ecae790d /pkgs/games/crossfire/crossfire-maps.nix
parent308c004ace14c471d904a065582f8a51be9750f4 (diff)
downloadnixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar.gz
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar.bz2
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar.lz
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar.xz
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.tar.zst
nixlib-5e65827139f158bb5f9d3040f3083146bec786a3.zip
crossfire-server: init at r22111
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).
Diffstat (limited to 'pkgs/games/crossfire/crossfire-maps.nix')
-rw-r--r--pkgs/games/crossfire/crossfire-maps.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/games/crossfire/crossfire-maps.nix b/pkgs/games/crossfire/crossfire-maps.nix
new file mode 100644
index 000000000000..0521b038d361
--- /dev/null
+++ b/pkgs/games/crossfire/crossfire-maps.nix
@@ -0,0 +1,27 @@
+{ 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 ];
+  };
+}