Skip to content

Commit a14c162

Browse files
committed
ocamlPackages.bitwuzla-cxx: init at 0.6.1
1 parent daa552c commit a14c162

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
lib,
3+
buildDunePackage,
4+
fetchurl,
5+
zarith,
6+
}:
7+
8+
let
9+
version = "0.6.1";
10+
in
11+
12+
buildDunePackage {
13+
pname = "bitwuzla-cxx";
14+
inherit version;
15+
16+
minimalOCamlVersion = "4.12";
17+
18+
src = fetchurl {
19+
url = "https://github.com/bitwuzla/ocaml-bitwuzla/releases/download/${version}/bitwuzla-cxx-${version}.tbz";
20+
hash = "sha256-QgZy0a4QPVkgiB+lhEw40pE9TeuOOeMowtUb0F+BN6c=";
21+
};
22+
23+
propagatedBuildInputs = [ zarith ];
24+
25+
meta = {
26+
description = "OCaml binding for the SMT solver Bitwuzla C++ API";
27+
homepage = "https://bitwuzla.github.io/";
28+
changelog = "https://raw.githubusercontent.com/bitwuzla/ocaml-bitwuzla/refs/tags/${version}/CHANGES.md";
29+
license = lib.licenses.mit;
30+
maintainers = [ lib.maintainers.vbgl ];
31+
};
32+
}

pkgs/top-level/ocaml-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ let
116116

117117
bitv = callPackage ../development/ocaml-modules/bitv { };
118118

119+
bitwuzla-cxx = callPackage ../development/ocaml-modules/bitwuzla-cxx { };
120+
119121
bjack = callPackage ../development/ocaml-modules/bjack {
120122
inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreAudio;
121123
};

0 commit comments

Comments
 (0)