flake/pkgs/metacubexd/default.nix
2024-01-16 10:29:31 +08:00

30 lines
648 B
Nix

{
lib,
stdenvNoCC,
fetchurl,
}:
stdenvNoCC.mkDerivation rec {
pname = "metacubexd";
version = "1.134.0";
src = fetchurl {
url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${version}/compressed-dist.tgz";
hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M=";
};
dontConfigure = true;
dontBuild = true;
sourceRoot = ".";
installPhase = ''
mkdir -p $out
cp -r ./* $out
'';
meta = with lib; {
description = "Clash.Meta Dashboard, The Official One, XD";
homepage = "https://github.com/MetaCubeX/metacubexd";
license = licenses.mit;
platforms = platforms.all;
};
}