proksi: 0.5.3 -> 0.5.3-unstable-2025-05-05

0.5.3 fails to build on the latest Rust toolchain
due to outdated dependencies.
This commit is contained in:
Defelo 2025-05-05 21:12:47 +02:00
parent dc8152a214
commit 2dddf9d99c
No known key found for this signature in database
GPG Key ID: 2A05272471204DD3

View File

@ -13,13 +13,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "proksi";
version = "0.5.3";
version = "0.5.3-unstable-2025-05-05";
src = fetchFromGitHub {
owner = "luizfonseca";
repo = "proksi";
tag = "proksi-v${finalAttrs.version}";
hash = "sha256-zwLF6yL/EqyBtZ+hHXLJRe2UaZyhSzotEFYlpoLXKZ4=";
rev = "d0d95bd0bc142fafbe095248597a057524ff0721";
hash = "sha256-D+MS7Y7aKlgAY7T2vq+rayZ8fjP+98gGJrF5qLvH37Q=";
};
postPatch = ''
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
useFetchCargoVendor = true;
cargoHash = "sha256-vFZUcHh/gI4fdlM6LcN+6kjweLUnPNYNq6Y+XxWoSl8=";
cargoHash = "sha256-HEwtaERPw6llwhXPgifrtuO1fjV1gCEuH80PaIukp6Q=";
nativeBuildInputs = [
pkg-config
@ -61,11 +61,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
# remove after updating to the next stable version
preVersionCheck = ''
export version=0.5.3
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"proksi-v(.*)"
"--version=branch"
"--version-regex=proksi-v(.*)"
];
};