Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 ocaml, 6 menhir, 7}: 8 9buildDunePackage rec { 10 pname = "FrontC"; 11 version = "4.1.0"; 12 13 src = fetchFromGitHub { 14 owner = "BinaryAnalysisPlatform"; 15 repo = "FrontC"; 16 rev = "v${version}"; 17 sha256 = "1mi1vh4qgscnb470qwidccaqd068j1bqlz6pf6wddk21paliwnqb"; 18 }; 19 20 minimalOCamlVersion = "4.08"; 21 22 nativeBuildInputs = [ menhir ]; 23 24 meta = with lib; { 25 inherit (src.meta) homepage; 26 inherit (ocaml.meta) platforms; 27 description = "C Parsing Library"; 28 license = licenses.lgpl21; 29 maintainers = [ maintainers.maurer ]; 30 }; 31}