clash-verge-rev: add meta for internal package
This commit is contained in:
parent
198e0a5d26
commit
d7423b75c9
@ -27,6 +27,20 @@ let
|
||||
hash = "sha256-HyRTOqPj4SnV9gktqRegxOYz9c8mQHOX+IrdZlHhYpo=";
|
||||
};
|
||||
|
||||
meta-unwrapped = {
|
||||
description = "Clash GUI based on tauri";
|
||||
homepage = "https://github.com/clash-verge-rev/clash-verge-rev";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
Guanran928
|
||||
bot-wxt1221
|
||||
];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
|
||||
service-cargo-hash = "sha256-NBeHR6JvdCp06Ug/UEtLY2tu3iCmlsCU0x8umRbJXLU=";
|
||||
|
||||
service = callPackage ./service.nix {
|
||||
@ -36,6 +50,7 @@ let
|
||||
service-cargo-hash
|
||||
pname
|
||||
;
|
||||
meta = meta-unwrapped;
|
||||
};
|
||||
|
||||
webui = callPackage ./webui.nix {
|
||||
@ -44,6 +59,8 @@ let
|
||||
src
|
||||
pname
|
||||
;
|
||||
meta = meta-unwrapped;
|
||||
|
||||
};
|
||||
|
||||
sysproxy-hash = "sha256-TEC51s/viqXUoEH9rJev8LdC2uHqefInNcarxeogePk=";
|
||||
@ -55,8 +72,8 @@ let
|
||||
src
|
||||
sysproxy-hash
|
||||
webui
|
||||
meta
|
||||
;
|
||||
meta = meta-unwrapped;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -7,10 +7,11 @@
|
||||
pname,
|
||||
webkitgtk,
|
||||
service-cargo-hash,
|
||||
meta,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "${pname}-service";
|
||||
inherit version;
|
||||
inherit version meta;
|
||||
|
||||
src = src-service;
|
||||
sourceRoot = "${src-service.name}";
|
||||
|
@ -13,7 +13,7 @@
|
||||
openssl,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit version src;
|
||||
inherit version src meta;
|
||||
pname = "${pname}-unwrapped";
|
||||
sourceRoot = "${src.name}/src-tauri";
|
||||
|
||||
|
@ -5,9 +5,10 @@
|
||||
pnpm,
|
||||
nodejs,
|
||||
stdenv,
|
||||
meta,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
inherit version src;
|
||||
inherit version src meta;
|
||||
pname = "${pname}-webui";
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit pname version src;
|
||||
|
Loading…
Reference in New Issue
Block a user