+ # todo: build
+ xonotic-maps = mkDerivation rec {
+ name = "xonotic-maps-${version}";
+ version = "xonotic-${VERSION}";
+
+ src = srcs."data/xonotic-maps";
+
+ phases = [ "installPhase" ];
+ installPhase = ''
+ mkdir $out
+ cp -r $src/. $out
+ '';
+
+ passthru.dance = mkDerivation rec {
+ name = "dance";
+ version = "xonotic-${VERSION}";
+
+ src = pkgs.fetchurl {
+ url = http://beta.xonotic.org/autobuild-bsp/dance-full-88c416b8c11bdcecfdb889af2a2b97b4c0e2b8de-319ee7234504199da56f07ce25185f6d6cb889cd.pk3;
+ sha256 = "1jgdg4mz56kbxcy3mwn4h5qlf3ahm1cmarp9l70fz9nfn6cnaknq";
+ };
+
+ phases = [ "installPhase" ];
+
+ installPhase = ''
+ mkdir -p $out
+ cd $out
+ ${pkgs.unzip}/bin/unzip $src
+ '';
+ };
+ };
+
+ xonotic-music = mkDerivation rec {
+ name = "xonotic-music-${version}";
+ version = "xonotic-${VERSION}";
+
+ src = srcs."data/xonotic-music";
+
+ phases = [ "installPhase" ];
+ installPhase = ''
+ mkdir $out
+ cp -r $src/. $out
+ '';
+
+ passthru.pk3args = "-0";
+ };
+
+ xonotic-nexcompat = mkDerivation rec {
+ name = "xonotic-nexcompat-${version}";
+ version = "xonotic-${VERSION}";
+
+ src = srcs."data/xonotic-nexcompat";
+
+ phases = [ "installPhase" ];
+ installPhase = ''
+ mkdir $out
+ cp -r $src/. $out
+ '';
+ };
+