diff --git a/pkgs/by-name/rs/rsonpath/package.nix b/pkgs/by-name/rs/rsonpath/package.nix index c3f8e8bb5e04ef..b6ee6766430dfc 100644 --- a/pkgs/by-name/rs/rsonpath/package.nix +++ b/pkgs/by-name/rs/rsonpath/package.nix @@ -2,30 +2,35 @@ lib, rustPlatform, fetchFromGitHub, + unstableGitUpdater, }: rustPlatform.buildRustPackage rec { pname = "rsonpath"; - version = "0.9.1"; + version = "0.9.1-unstable-2024-11-15"; src = fetchFromGitHub { - owner = "v0ldek"; + owner = "rsonquery"; repo = "rsonpath"; - rev = "v${version}"; - hash = "sha256-3q0q9Bj/DPuDmHu2G9jrABFXU8xgbUUS7iTBguVWR5s="; + rev = "979e6374a68747dfba7b87b61bbe77951f749659"; + hash = "sha256-YQCbkdv7PRf5hVXAGUg6DrtaCLIyS9nUGXsl8XHpKZU="; }; - cargoHash = "sha256-bh72u1AvM6bGNQCjyu6GdAiK0jw5lE0SIdYzaZEjYg8="; + passthru.updateScript = unstableGitUpdater { + tagPrefix = "v"; + }; + + cargoHash = "sha256-nv2dQ7JV+fJIW+AkKLJ1yauKog0bS7F62cXsqp1CoRo="; cargoBuildFlags = [ "-p=rsonpath" ]; cargoTestFlags = cargoBuildFlags; - meta = with lib; { + meta = { description = "Experimental JSONPath engine for querying massive streamed datasets"; homepage = "https://github.com/v0ldek/rsonpath"; changelog = "https://github.com/v0ldek/rsonpath/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ figsoda ]; mainProgram = "rq"; }; }