mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
proksi: 0.5.3-unstable-2025-05-19 -> 0.6.0
This commit is contained in:
parent
2e41add9ee
commit
f14fe46e22
1 changed files with 5 additions and 14 deletions
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "proksi";
|
pname = "proksi";
|
||||||
version = "0.5.3-unstable-2025-05-19";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "luizfonseca";
|
owner = "luizfonseca";
|
||||||
repo = "proksi";
|
repo = "proksi";
|
||||||
rev = "4e31e5223dd4a8e3b955fbfa6c895c94c834e5aa";
|
tag = "proksi-v${finalAttrs.version}";
|
||||||
hash = "sha256-7NeRU+VJf2HvT7PRmryhE8u56/PoKvKtGGuZTCujGNQ=";
|
hash = "sha256-5IXtMtyKbx7re6CA61AnQ85k/SMdkjZo/ySnNoD2DDo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-jypYyXN9caTax+11shkJJfEEPtoq4RILWjffm/3ymzE=";
|
cargoHash = "sha256-yjbtP+FlDaJXPhCu1UyaDolpzy+BUejU8nVVSVsKCzE=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -61,17 +61,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
versionCheckProgramArg = "--version";
|
versionCheckProgramArg = "--version";
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
# remove after updating to the next stable version
|
|
||||||
preVersionCheck = ''
|
|
||||||
export version=0.5.3
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script {
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=proksi-v(.*)" ]; };
|
||||||
extraArgs = [
|
|
||||||
"--version=branch"
|
|
||||||
"--version-regex=proksi-v(.*)"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Batteries-included CDN, reverse proxy and Load Balancer using Cloudflare Pingora";
|
description = "Batteries-included CDN, reverse proxy and Load Balancer using Cloudflare Pingora";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue