mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
ocamlPackages.goblint-cil: init at 2.1.1
This commit is contained in:
56
pkgs/development/ocaml-modules/goblint-cil/default.nix
Normal file
56
pkgs/development/ocaml-modules/goblint-cil/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user