ocamlPackages.smtml: 0.10.0 → 0.12.0

This commit is contained in:
Vincent Laporte
2025-10-20 06:27:57 +02:00
parent 7261803852
commit 79fef7e3b5
@@ -7,10 +7,12 @@
menhir,
bos,
cmdliner,
dolmen_model,
dolmen_type,
fpath,
hc,
menhirLib,
mtime,
# fix eval on legacy ocaml versions
ocaml_intrinsics ? null,
patricia-tree,
@@ -23,15 +25,15 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "smtml";
version = "0.10.0";
version = "0.12.0";
src = fetchFromGitHub {
owner = "formalsec";
repo = "smtml";
tag = "v${version}";
hash = "sha256-WXGYk/zJnW6QzHKCHl0lkmYb/pG90/sAOK40wYzK35U=";
tag = "v${finalAttrs.version}";
hash = "sha256-WETSvhy5OfztOTqJimym0OaZLo053nl8pcoQlyyP8I0=";
};
nativeBuildInputs = [
@@ -41,10 +43,12 @@ buildDunePackage rec {
propagatedBuildInputs = [
bos
cmdliner
dolmen_model
dolmen_type
fpath
hc
menhirLib
mtime
ocaml_intrinsics
patricia-tree
prelude
@@ -63,14 +67,19 @@ buildDunePackage rec {
mdx.bin
];
doCheck = !(lib.versions.majorMinor ocaml.version == "5.0" || stdenv.hostPlatform.isDarwin);
doCheck =
!(
lib.versions.majorMinor ocaml.version == "5.0"
|| lib.versions.majorMinor ocaml.version == "5.4"
|| 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}";
changelog = "https://github.com/formalsec/smtml/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
})