about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/crossfire/crossfire-arch.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/crossfire/crossfire-arch.nix')
-rw-r--r--nixpkgs/pkgs/games/crossfire/crossfire-arch.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/crossfire/crossfire-arch.nix b/nixpkgs/pkgs/games/crossfire/crossfire-arch.nix
new file mode 100644
index 000000000000..c09f474e70c7
--- /dev/null
+++ b/nixpkgs/pkgs/games/crossfire/crossfire-arch.nix
@@ -0,0 +1,27 @@
+{ stdenv, lib, fetchsvn,
+  version, rev, sha256 }:
+
+stdenv.mkDerivation rec {
+  pname = "crossfire-arch";
+  version = rev;
+
+  src = fetchsvn {
+    url = "http://svn.code.sf.net/p/crossfire/code/arch/trunk/";
+    inherit sha256;
+    rev = "r${rev}";
+  };
+
+  installPhase = ''
+    mkdir -p "$out"
+    cp -a . "$out/"
+  '';
+
+  meta = with lib; {
+    description = "Archetype data for the Crossfire free MMORPG";
+    homepage = "http://crossfire.real-time.com/";
+    license = licenses.gpl2Plus;
+    platforms = platforms.linux;
+    hydraPlatforms = [];
+    maintainers = with maintainers; [ ToxicFrog ];
+  };
+}