2023-03-30 22:05:00 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rsonpath";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.9.1";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "v0ldek";
|
|
|
|
repo = "rsonpath";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-3q0q9Bj/DPuDmHu2G9jrABFXU8xgbUUS7iTBguVWR5s=";
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-bh72u1AvM6bGNQCjyu6GdAiK0jw5lE0SIdYzaZEjYg8=";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoBuildFlags = [ "-p=rsonpath" ];
|
|
|
|
cargoTestFlags = cargoBuildFlags;
|
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
meta = with lib; {
|
2023-10-09 19:29:22 +00:00
|
|
|
description = "Experimental JSONPath engine for querying massive streamed datasets";
|
2023-03-30 22:05:00 +00:00
|
|
|
homepage = "https://github.com/v0ldek/rsonpath";
|
|
|
|
changelog = "https://github.com/v0ldek/rsonpath/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2023-07-15 17:15:38 +00:00
|
|
|
mainProgram = "rq";
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
}
|