ocamlPackages.goblint-cil: init at 2.1.1

This commit is contained in:
sempiternal-aurora
2026-08-16 17:08:48 +10:00
parent 1c4e6851bf
commit 88de0c3bf4
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
hevea,
zarith,
dune-configurator,
stdlib-shims,
ppx_deriving_yojson,
yojson,
findlib,
cppo,
gcc,
perl,
}:
buildDunePackage (finalAttrs: {
pname = "goblint-cil";
version = "2.1.1";
minimalOCamlVersion = "4.12";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "goblint";
repo = "cil";
tag = finalAttrs.version;
hash = "sha256-nfu8LqTNyx/pkTlAHSay8q3KSYQ+asNAnnZjPUhkNwg=";
};
nativeBuildInputs = [
hevea
cppo
gcc
];
propagatedBuildInputs = [
zarith
dune-configurator
stdlib-shims
ppx_deriving_yojson
yojson
findlib
perl
];
# Currently broken, doesn't properly pass all tests, fails with many compile errors
doCheck = false;
meta = {
description = "Front-end for the C programming language that facilitates program analysis and transformation";
homepage = "https://goblint.github.io/cil/";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.sempiternal-aurora ];
};
})

View File

@@ -788,6 +788,8 @@ let
inherit (pkgs) gnuplot;
};
goblint-cil = callPackage ../development/ocaml-modules/goblint-cil { };
grace = callPackage ../development/ocaml-modules/grace { };
graphics = callPackage ../development/ocaml-modules/graphics { };