Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

77 lines
1.3 KiB
Nix

{
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.10.0";
src = fetchFromGitHub {
owner = "formalsec";
repo = "smtml";
tag = "v${version}";
hash = "sha256-WXGYk/zJnW6QzHKCHl0lkmYb/pG90/sAOK40wYzK35U=";
};
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 ];
};
}