12 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 hash = "sha256-LFAeZ1UsnOKaXlnSd/cMfJQk0ZfaNAzSbvSuoKmmOoI=";
23 fetchSubmodules = true;
39 patchShebangs scripts tests/scripts
43 "-DHILTI_DEV_PRECOMPILE_HEADERS=OFF"
48 do wrapProgram "$b" --prefix PATH : "${lib.makeBinPath [ bison flex ]}"
53 homepage = "https://github.com/zeek/spicy";
54 description = "A C++ parser generator for dissecting protocols & files";
56 Spicy is a parser generator that makes it easy to create robust C++
57 parsers for network protocols, file formats, and more. Spicy is a bit
58 like a "yacc for protocols", but it's much more than that: It's an
59 all-in-one system enabling developers to write attributed grammars that
60 describe both syntax and semantics of an input format using a single,
61 unified language. Think of Spicy as a domain-specific scripting language
62 for all your parsing needs.
64 license = licenses.bsd3;
65 maintainers = with maintainers; [ tobim ];