2023-01-11 07:51:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, which
|
|
|
|
, ocamlPackages
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cubicle";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2023-01-11 07:51:40 +00:00
|
|
|
url = "https://github.com/cubicle-model-checker/cubicle/archive/refs/tags/${version}.tar.gz";
|
|
|
|
hash = "sha256-/EtbXpyXqRm0jGcMfGLAEwdr92061edjFys1V7/w6/Y=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
which
|
|
|
|
] ++ (with ocamlPackages; [
|
|
|
|
findlib
|
|
|
|
ocaml
|
|
|
|
]);
|
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
|
|
functory
|
|
|
|
num
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
# https://github.com/cubicle-model-checker/cubicle/issues/1
|
|
|
|
env = {
|
|
|
|
OCAMLC = "ocamlfind ocamlc -package num";
|
|
|
|
OCAMLOPT = "ocamlfind ocamlopt -package num";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Open source model checker for verifying safety properties of array-based systems";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cubicle";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://cubicle.lri.fr/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ dwarfmaster ];
|
|
|
|
};
|
|
|
|
}
|