metacubexd: cleanup

This commit is contained in:
Guanran Wang 2024-01-16 10:29:31 +08:00
parent 563d7c4851
commit 350947e1d4
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

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