about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/frontc/default.nix
blob: c4ec0908fb0db43a5a090a3283082a29b20151ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildDunePackage, fetchFromGitHub, ocaml, menhir }:

buildDunePackage rec {
  pname = "FrontC";
  version = "4.1.0";

  src = fetchFromGitHub {
    owner = "BinaryAnalysisPlatform";
    repo = "FrontC";
    rev = "v${version}";
    sha256 = "1mi1vh4qgscnb470qwidccaqd068j1bqlz6pf6wddk21paliwnqb";
  };

  minimalOCamlVersion = "4.08";

  nativeBuildInputs = [ menhir ];

  meta = with lib; {
    inherit (src.meta) homepage;
    inherit (ocaml.meta) platforms;
    description = "C Parsing Library";
    license = licenses.lgpl21;
    maintainers = [ maintainers.maurer ];
  };
}