2022-04-07 01:49:52 +02:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ocaml, menhir }:
|
2018-08-21 15:45:30 +02:00
|
|
|
|
2022-04-07 01:49:52 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "FrontC";
|
|
|
|
version = "4.1.0";
|
2016-09-20 23:01:43 +02:00
|
|
|
|
2018-11-27 18:25:33 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BinaryAnalysisPlatform";
|
|
|
|
repo = "FrontC";
|
2022-04-07 01:49:52 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mi1vh4qgscnb470qwidccaqd068j1bqlz6pf6wddk21paliwnqb";
|
2016-09-20 23:01:43 +02:00
|
|
|
};
|
|
|
|
|
2022-04-07 01:49:52 +02:00
|
|
|
minimalOCamlVersion = "4.08";
|
2022-02-22 10:59:04 +01:00
|
|
|
|
2022-04-07 01:49:52 +02:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2018-11-27 18:25:33 +01:00
|
|
|
|
2016-09-20 23:01:43 +02:00
|
|
|
meta = with lib; {
|
2018-11-27 18:25:33 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
inherit (ocaml.meta) platforms;
|
2016-09-20 23:01:43 +02:00
|
|
|
description = "C Parsing Library";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|