[Backport release-25.05] geph: 0.2.72 -> 0.2.77 (#435475)

This commit is contained in:
Yohann Boniface
2025-08-21 15:49:18 +02:00
committed by GitHub

View File

@@ -14,6 +14,7 @@
libglvnd,
copyDesktopItems,
makeDesktopItem,
nix-update-script,
}:
let
binPath = lib.makeBinPath [
@@ -23,16 +24,16 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "geph5";
version = "0.2.72";
version = "0.2.77";
src = fetchFromGitHub {
owner = "geph-official";
repo = "geph5";
rev = "geph5-client-v${finalAttrs.version}";
hash = "sha256-+/oOQjebkn3iYi5UXFzFoe0ldu+p+nf5uEjGhk5nlNo=";
hash = "sha256-xm2eSCLIPYydR8iwMlZyc/M6bFrUZRqL5yZUXuYdk/k=";
};
cargoHash = "sha256-OFSsMa/xErNB+1cvEOnGshJJEcG8ZDf9y/uYVnsVwhU=";
cargoHash = "sha256-DNk4BQoY8m3OmglXMZzGstl9aC+LhZq9EN0OLW7sBrw=";
postPatch = ''
substituteInPlace binaries/geph5-client/src/vpn/*.sh \
@@ -98,6 +99,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
}' "$out/bin/geph5-client-gui"
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"geph5-client-v(.*)"
];
};
meta = {
description = "Modular Internet censorship circumvention system designed specifically to deal with national filtering";
homepage = "https://github.com/geph-official/geph5";