33 lines
745 B
Nix
33 lines
745 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
zarith,
|
|
}:
|
|
|
|
let
|
|
version = "0.8.0";
|
|
in
|
|
|
|
buildDunePackage {
|
|
pname = "bitwuzla-cxx";
|
|
inherit version;
|
|
|
|
minimalOCamlVersion = "4.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/bitwuzla/ocaml-bitwuzla/releases/download/${version}/bitwuzla-cxx-${version}.tbz";
|
|
hash = "sha256-t8Vgbiec5m6CYV8bINJqs6uhx0YAJcRZeaWRGNoD6AQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zarith ];
|
|
|
|
meta = {
|
|
description = "OCaml binding for the SMT solver Bitwuzla C++ API";
|
|
homepage = "https://bitwuzla.github.io/";
|
|
changelog = "https://raw.githubusercontent.com/bitwuzla/ocaml-bitwuzla/refs/tags/${version}/CHANGES.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|