mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
c5d61a5e93
Includes deliantra-arch, deliantra-maps, and deliantra-data (a combined package that includes the compiled archetypes and maps and the static data shipped with the server itself).
26 lines
697 B
Nix
26 lines
697 B
Nix
{ stdenv, lib, fetchurl, deliantra-server }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deliantra-arch";
|
|
version = "3.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://dist.schmorp.de/deliantra/${pname}-${version}.tar.xz";
|
|
sha256 = "1xzhv48g90hwkzgx9nfjm81ivg6hchkik9ldimi8ijb4j393kvsz";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"
|
|
export DELIANTRA_DATADIR="$out"
|
|
${deliantra-server}/bin/cfutil --install-arch .
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Archetype data for the Deliantra free MMORPG";
|
|
homepage = "http://www.deliantra.net/";
|
|
license = with licenses; [ gpl2Plus agpl3Plus ];
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ToxicFrog ];
|
|
};
|
|
}
|