23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
30 lines
791 B
Nix
30 lines
791 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rsonpath";
|
|
version = "0.8.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "v0ldek";
|
|
repo = "rsonpath";
|
|
rev = "v${version}";
|
|
hash = "sha256-p1cbxEvnV5vR1fznNbglHfKa53DboIFJqEWAXBLoQ+s=";
|
|
};
|
|
|
|
cargoHash = "sha256-rVJbrHsbSF8ZF44gmCUFxlGGhloC/kLBT5vSJjglxHE=";
|
|
|
|
cargoBuildFlags = [ "-p=rsonpath" ];
|
|
cargoTestFlags = cargoBuildFlags;
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
mainProgram = "rq";
|
|
};
|
|
}
|