2022-04-27 09:35:20 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ocaml, menhir }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "FrontC";
|
|
|
|
version = "4.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BinaryAnalysisPlatform";
|
|
|
|
repo = "FrontC";
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mi1vh4qgscnb470qwidccaqd068j1bqlz6pf6wddk21paliwnqb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
description = "C Parsing Library";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|