flake/pkgs/metacubexd/default.nix

31 lines
648 B
Nix
Raw Normal View History

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";
2024-01-16 02:29:31 +00:00
2023-12-13 05:54:34 +00:00
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=";
};
2024-01-16 02:29:31 +00:00
dontConfigure = true;
dontBuild = true;
2023-12-13 05:54:34 +00:00
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;
2024-01-16 02:29:31 +00:00
platforms = platforms.all;
2023-12-31 12:23:03 +00:00
};
}