metacubexd: refactor
This commit is contained in:
parent
9cac96c5ff
commit
41f9f57d85
1 changed files with 11 additions and 4 deletions
|
@ -1,12 +1,13 @@
|
||||||
{
|
{
|
||||||
fetchurl,
|
lib,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
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${finalAttrs.version}/compressed-dist.tgz";
|
url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${version}/compressed-dist.tgz";
|
||||||
hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M=";
|
hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M=";
|
||||||
};
|
};
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
@ -14,4 +15,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ./* $out
|
cp -r ./* $out
|
||||||
'';
|
'';
|
||||||
})
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Clash.Meta Dashboard, The Official One, XD";
|
||||||
|
homepage = "https://github.com/MetaCubeX/metacubexd";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue