diff --git a/pkgs/by-name/ja/jaq/package.nix b/pkgs/by-name/ja/jaq/package.nix index 3bbf58338bc9..65843eedd69f 100644 --- a/pkgs/by-name/ja/jaq/package.nix +++ b/pkgs/by-name/ja/jaq/package.nix @@ -6,19 +6,19 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jaq"; - version = "2.2.0"; + version = "2.3.0"; src = fetchFromGitHub { owner = "01mf02"; repo = "jaq"; - tag = "v${version}"; - hash = "sha256-mVC2aggfcEpCtriuz/s4JL8mYkrlyAQLnaN5vyfcW3s="; + tag = "v${finalAttrs.version}"; + hash = "sha256-ZVTDbJ5RPgQeB4ntnNQcbbWquPFL7q4WYyQ5ihCVB64="; }; useFetchCargoVendor = true; - cargoHash = "sha256-ZZLp3Vwq013MPxKy9gTZ1yMi2O0QcDPgFw5YnrYt90I="; + cargoHash = "sha256-hEILrjIJK/8CrQv5QcHu+AtPV7KcPdmw6422MyNoPwo="; nativeInstallCheckInputs = [ versionCheckHook @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Jq clone focused on correctness, speed and simplicity"; homepage = "https://github.com/01mf02/jaq"; - changelog = "https://github.com/01mf02/jaq/releases/tag/v${version}"; + changelog = "https://github.com/01mf02/jaq/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ figsoda @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "jaq"; }; -} +})