2023-12-13 05:54:34 +00:00
|
|
|
{
|
2023-12-31 12:23:03 +00:00
|
|
|
lib,
|
2023-12-13 05:54:34 +00:00
|
|
|
stdenvNoCC,
|
2023-12-31 12:23:03 +00:00
|
|
|
fetchurl,
|
2023-12-13 05:54:34 +00:00
|
|
|
}:
|
2023-12-31 12:23:03 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2023-12-13 05:54:34 +00:00
|
|
|
pname = "metacubexd";
|
|
|
|
version = "1.134.0";
|
|
|
|
src = fetchurl {
|
2023-12-31 12:23:03 +00:00
|
|
|
url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${version}/compressed-dist.tgz";
|
2023-12-13 05:54:34 +00:00
|
|
|
hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M=";
|
|
|
|
};
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r ./* $out
|
|
|
|
'';
|
2023-12-31 12:23:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Clash.Meta Dashboard, The Official One, XD";
|
|
|
|
homepage = "https://github.com/MetaCubeX/metacubexd";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|