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=";
|
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-cargo-hash = "sha256-NBeHR6JvdCp06Ug/UEtLY2tu3iCmlsCU0x8umRbJXLU=";
|
||||||
|
|
||||||
service = callPackage ./service.nix {
|
service = callPackage ./service.nix {
|
||||||
@ -36,6 +50,7 @@ let
|
|||||||
service-cargo-hash
|
service-cargo-hash
|
||||||
pname
|
pname
|
||||||
;
|
;
|
||||||
|
meta = meta-unwrapped;
|
||||||
};
|
};
|
||||||
|
|
||||||
webui = callPackage ./webui.nix {
|
webui = callPackage ./webui.nix {
|
||||||
@ -44,6 +59,8 @@ let
|
|||||||
src
|
src
|
||||||
pname
|
pname
|
||||||
;
|
;
|
||||||
|
meta = meta-unwrapped;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sysproxy-hash = "sha256-TEC51s/viqXUoEH9rJev8LdC2uHqefInNcarxeogePk=";
|
sysproxy-hash = "sha256-TEC51s/viqXUoEH9rJev8LdC2uHqefInNcarxeogePk=";
|
||||||
@ -55,8 +72,8 @@ let
|
|||||||
src
|
src
|
||||||
sysproxy-hash
|
sysproxy-hash
|
||||||
webui
|
webui
|
||||||
meta
|
|
||||||
;
|
;
|
||||||
|
meta = meta-unwrapped;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -7,10 +7,11 @@
|
|||||||
pname,
|
pname,
|
||||||
webkitgtk,
|
webkitgtk,
|
||||||
service-cargo-hash,
|
service-cargo-hash,
|
||||||
|
meta,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "${pname}-service";
|
pname = "${pname}-service";
|
||||||
inherit version;
|
inherit version meta;
|
||||||
|
|
||||||
src = src-service;
|
src = src-service;
|
||||||
sourceRoot = "${src-service.name}";
|
sourceRoot = "${src-service.name}";
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
openssl,
|
openssl,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
inherit version src;
|
inherit version src meta;
|
||||||
pname = "${pname}-unwrapped";
|
pname = "${pname}-unwrapped";
|
||||||
sourceRoot = "${src.name}/src-tauri";
|
sourceRoot = "${src.name}/src-tauri";
|
||||||
|
|
||||||
|
@ -5,9 +5,10 @@
|
|||||||
pnpm,
|
pnpm,
|
||||||
nodejs,
|
nodejs,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
meta,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit version src;
|
inherit version src meta;
|
||||||
pname = "${pname}-webui";
|
pname = "${pname}-webui";
|
||||||
pnpmDeps = pnpm.fetchDeps {
|
pnpmDeps = pnpm.fetchDeps {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
Loading…
Reference in New Issue
Block a user