8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 hash = "sha256-cFwBck+bdOjhF6rQQj03MOO+XCsrII5c4Xvhsw12ETA=";
19 cargoHash = "sha256-zkPLas+fQQzm7LlWNpTooUR/e30KMS9OET6PMwQ2yAA=";
23 src = ./use-correct-binary-path-in-tests.patch;
24 target_triple = stdenv.hostPlatform.rust.rustcTarget;
28 buildAndTestSubdir = "lalrpop";
30 # there are some tests in lalrpop-test and some in lalrpop
32 buildAndTestSubdir=lalrpop-test cargoCheckHook
37 description = "LR(1) parser generator for Rust";
38 homepage = "https://github.com/lalrpop/lalrpop";
39 changelog = "https://github.com/lalrpop/lalrpop/blob/${src.rev}/RELEASES.md";
40 license = with licenses; [ asl20 /* or */ mit ];
41 mainProgram = "lalrpop";
42 maintainers = with maintainers; [ chayleaf ];