ocamlPackages.smtml: init at 0.7.0

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-06-26 19:25:28 +02:00
committed by Vincent Laporte
parent 1eeee2bb19
commit 5bd7f6e180
2 changed files with 80 additions and 0 deletions
@@ -0,0 +1,76 @@
{
lib,
stdenv,
buildDunePackage,
ocaml,
fetchFromGitHub,
menhir,
bos,
cmdliner,
dolmen_type,
fpath,
hc,
menhirLib,
# fix eval on legacy ocaml versions
ocaml_intrinsics ? null,
patricia-tree,
prelude,
scfg,
yojson,
z3,
zarith,
mdx,
ounit2,
}:
buildDunePackage rec {
pname = "smtml";
version = "0.7.0";
src = fetchFromGitHub {
owner = "formalsec";
repo = "smtml";
tag = "v${version}";
hash = "sha256-QxVORnu28mcs54ZEPMxI5Bch/+/gkIfn0bTqrnSKUOw=";
};
nativeBuildInputs = [
menhir
];
propagatedBuildInputs = [
bos
cmdliner
dolmen_type
fpath
hc
menhirLib
ocaml_intrinsics
patricia-tree
prelude
scfg
yojson
z3
zarith
];
checkInputs = [
mdx
ounit2
];
nativeCheckInputs = [
mdx.bin
];
doCheck = !(lib.versions.majorMinor ocaml.version == "5.0" || stdenv.hostPlatform.isDarwin);
meta = {
description = "SMT solver frontend for OCaml";
homepage = "https://formalsec.github.io/smtml/smtml/";
downloadPage = "https://github.com/formalsec/smtml";
changelog = "https://github.com/formalsec/smtml/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
+4
View File
@@ -1885,6 +1885,10 @@ let
slug = callPackage ../development/ocaml-modules/slug { };
smtml = callPackage ../development/ocaml-modules/smtml {
mdx = mdx.override { inherit logs; };
};
sodium = callPackage ../development/ocaml-modules/sodium { };
sosa = callPackage ../development/ocaml-modules/sosa { };