about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2024-01-09 08:40:07 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2024-01-16 06:48:51 +0100
commit3ae6216c8ef833a155f7d08b6c47c2ff9be687b2 (patch)
tree82a7bd822acbd002f22a6ec79bde931680286aab /pkgs/development/ocaml-modules
parentaf93f583912b02cef5794b7efed152d41a88e4c5 (diff)
downloadnixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar.gz
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar.bz2
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar.lz
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar.xz
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.tar.zst
nixlib-3ae6216c8ef833a155f7d08b6c47c2ff9be687b2.zip
ocamlPackages.msat: init at 0.9.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/msat/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/msat/default.nix b/pkgs/development/ocaml-modules/msat/default.nix
new file mode 100644
index 000000000000..d5893dc55e04
--- /dev/null
+++ b/pkgs/development/ocaml-modules/msat/default.nix
@@ -0,0 +1,36 @@
+{ lib, fetchFromGitHub, buildDunePackage
+, iter
+, containers
+, mdx
+}:
+
+buildDunePackage rec {
+  pname = "msat";
+  version = "0.9.1";
+
+  src = fetchFromGitHub {
+    owner = "Gbury";
+    repo = "mSAT";
+    rev = "v${version}";
+    hash = "sha256-ER7ZUejW+Zy3l2HIoFDYbR8iaKMvLZWaeWrOAAYXjG4=";
+  };
+
+  propagatedBuildInputs = [
+    iter
+  ];
+
+  postPatch = ''
+    substituteInPlace dune --replace mdx ocaml-mdx
+  '';
+
+  doCheck = true;
+  checkInputs = [ containers ];
+  nativeCheckInputs = [ mdx.bin ];
+
+  meta = {
+    description = "A modular sat/smt solver with proof output.";
+    homepage = "https://gbury.github.io/mSAT/";
+    license = lib.licenses.asl20;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}