at 23.11-beta 30 lines 791 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "rsonpath"; 8 version = "0.8.4"; 9 10 src = fetchFromGitHub { 11 owner = "v0ldek"; 12 repo = "rsonpath"; 13 rev = "v${version}"; 14 hash = "sha256-V7Ir1FGKjKYu/J2KSBaDwLdH/MHTS+aChHWcrVTu4dY="; 15 }; 16 17 cargoHash = "sha256-eiYUlHA4vK/zhfULwekt3dRVx//u5mrQ6tRdQh0tmTc="; 18 19 cargoBuildFlags = [ "-p=rsonpath" ]; 20 cargoTestFlags = cargoBuildFlags; 21 22 meta = with lib; { 23 description = "Experimental JSONPath engine for querying massive streamed datasets"; 24 homepage = "https://github.com/v0ldek/rsonpath"; 25 changelog = "https://github.com/v0ldek/rsonpath/blob/${src.rev}/CHANGELOG.md"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ figsoda ]; 28 mainProgram = "rq"; 29 }; 30}