8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
15 # there's no tag for 0.20.0
16 rev = "1584ddb243726195b540fdd2b3ccf693876288e0";
18 hash = "sha256-aYlSR8XqJnj76Hm3MFqfA5d9L3SO/iCCKpzOES5YQGY=";
21 cargoHash = "sha256-JaU5ZJbmlV/HfFT/ODpB3xFjZc2XiljhEVz/dql8o/c=";
25 src = ./use-correct-binary-path-in-tests.patch;
26 target_triple = stdenv.hostPlatform.rust.rustcTarget;
30 buildAndTestSubdir = "lalrpop";
32 # there are some tests in lalrpop-test and some in lalrpop
34 buildAndTestSubdir=lalrpop-test cargoCheckHook
39 description = "LR(1) parser generator for Rust";
40 homepage = "https://github.com/lalrpop/lalrpop";
41 changelog = "https://github.com/lalrpop/lalrpop/blob/${src.rev}/RELEASES.md";
42 license = with licenses; [ asl20 /* or */ mit ];
43 mainProgram = "lalrpop";
44 maintainers = with maintainers; [ chayleaf ];