35 lines
848 B
Nix
35 lines
848 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "azerothcore-data";
|
|
version = "16";
|
|
|
|
src = fetchzip {
|
|
url = "https://gaja.cloud/s/EZefQZ8rNBaB5AL/download?path=%2F&files=AzerothCore-Data-deDE.zip";
|
|
hash = "sha256-O8b4c15RvEe6dKW5a+u17IoNv42KX9qVIjlwDLxXO3k=";
|
|
stripRoot = false;
|
|
};
|
|
|
|
dontPatch = true;
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
dontFixup = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -a . $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Dbc, Map and some MPQ to use in your editors/viewer tools (EN-US)";
|
|
homepage = "https://wowgaming.github.io/";
|
|
changelog = "https://github.com/wowgaming/client-data/releases/tag/v${finalAttrs.version}";
|
|
platforms = platforms.all;
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ gaelreyrol ];
|
|
};
|
|
})
|