nixpkgs-suyu/pkgs/development/ocaml-modules/frontc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
587 B
Nix
Raw Normal View History

2022-04-07 01:49:52 +02:00
{ lib, buildDunePackage, fetchFromGitHub, ocaml, menhir }:
2022-04-07 01:49:52 +02:00
buildDunePackage rec {
pname = "FrontC";
version = "4.1.0";
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";
};
2022-04-07 01:49:52 +02:00
minimalOCamlVersion = "4.08";
2022-04-07 01:49:52 +02:00
nativeBuildInputs = [ menhir ];
2018-11-27 18:25:33 +01:00
meta = with lib; {
2018-11-27 18:25:33 +01:00
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
description = "C Parsing Library";
license = licenses.lgpl21;
maintainers = [ maintainers.maurer ];
};
}