1 {lib, stdenv, fetchurl, fetchFromGitLab
2 , yodl, icmake, flexcpp, bobcat
4 stdenv.mkDerivation rec {
8 src = fetchFromGitLab {
13 sha256 = "sha256:0aa9bij4g08ilsk6cgrbgi03vyhqr9fn6j2164sjin93m63212wl";
16 buildInputs = [ bobcat ];
18 nativeBuildInputs = [ yodl icmake flexcpp ];
21 sourceRoot="$(echo */bisonc++)"
25 url = "https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt";
26 sha256 = "sha256:0hq6i0dm4420825fdm0lnnppbil6z67ls67n5kgjcd912dszjxw1";
30 substituteInPlace INSTALL.im --replace /usr $out
32 for file in $(find documentation -type f); do
33 substituteInPlace "$file" --replace /usr/share/common-licenses/GPL ${gpl}
34 substituteInPlace "$file" --replace /usr $out
49 description = "A parser generator like bison, but it generates C++ code";
50 license = licenses.gpl2Plus;
51 maintainers = with maintainers; [ raskin ];
52 platforms = platforms.linux;
53 homepage = "https://fbb-git.gitlab.io/bisoncpp/";