mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
clash-verge-rev: 2.4.7 -> 2.5.1 (#523235)
This commit is contained in:
commit
9550204ab3
3 changed files with 11 additions and 10 deletions
|
|
@ -81,6 +81,7 @@
|
|||
LockPersonality = true;
|
||||
RestrictRealtime = true;
|
||||
RuntimeDirectory = "clash-verge-rev";
|
||||
StateDirectory = "clash-verge-service";
|
||||
ProtectClock = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
RestrictSUIDSGID = true;
|
||||
|
|
|
|||
|
|
@ -13,17 +13,17 @@
|
|||
let
|
||||
pname = "clash-verge-rev";
|
||||
# Please keep service version in sync
|
||||
version = "2.4.7";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clash-verge-rev";
|
||||
repo = "clash-verge-rev";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Jw9GXD0RFFPkqhJuNZaooxIHVDt1ti0a4g863jIwtkY=";
|
||||
hash = "sha256-2X2QlWo12qM7RT0wjf1Xlmh3We2wZR/kJnSxIxVst9Y=";
|
||||
};
|
||||
|
||||
pnpm-hash = "sha256-2iGCe9LmH99hVOWEWkDy7/XH4r/Jlr8rzL5FrCRpn3Q=";
|
||||
vendor-hash = "sha256-EHsGCrphP6SRQ04Q0sIh8CmzMwbvqDQeiL44ItBGIaM=";
|
||||
pnpm-hash = "sha256-JvY7olf1OOQ+j/z7hFEcmum24WlPggrur3K8cTEgc7g=";
|
||||
vendor-hash = "sha256-nF9d1OWpn3rf4EPhD4vqQbKEp/J5pc7J7XJDgAjd0DA=";
|
||||
|
||||
service = callPackage ./service.nix {
|
||||
inherit
|
||||
|
|
|
|||
|
|
@ -7,14 +7,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "clash-verge-service-ipc";
|
||||
version = "2.1.3";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clash-verge-rev";
|
||||
repo = "clash-verge-service-ipc";
|
||||
# upstream uses branch
|
||||
rev = "a486e7df6ac3d641014085f43bd08e99ff09b5a2";
|
||||
hash = "sha256-WmQ3s6uED4Q1E2ORtjDqdxaUaPD+RIB5x8bYPOuGUSk=";
|
||||
rev = "21e661fa141e5ad3c705ee4cdb86efff8df6f769";
|
||||
hash = "sha256-XavlZWxuZKCTyIYpuXRvXpXCdakWhbLhOMmOrGBgDRo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
./patch-service-directory.patch
|
||||
];
|
||||
|
||||
cargoHash = "sha256-xE8ihRlox7qrmLHEGQ76pbisFj+1bqjwr+tllxLRDoA=";
|
||||
cargoHash = "sha256-WhH2o5wN5vYW8jZl+hWbnk1xqHu61ibAr4+/CI3YKHg=";
|
||||
|
||||
buildFeatures = [
|
||||
"standalone"
|
||||
|
|
@ -34,9 +34,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
nativeCheckInputs = [
|
||||
procps
|
||||
];
|
||||
# build mock_binary for tests
|
||||
# build test helper binaries for tests
|
||||
preCheck = ''
|
||||
cargo build --features=test
|
||||
cargo build --features=standalone,test
|
||||
'';
|
||||
checkFeatures = [
|
||||
"standalone"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue