mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
cubicle: 1.1.2 -> 1.2.0
This commit is contained in:
parent
2ec805b168
commit
1f4c190aff
2 changed files with 29 additions and 9 deletions
|
@ -1,18 +1,40 @@
|
|||
{ lib, stdenv, fetchurl, ocamlPackages }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, which
|
||||
, ocamlPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cubicle";
|
||||
version = "1.1.2";
|
||||
version = "1.2.0";
|
||||
src = fetchurl {
|
||||
url = "http://cubicle.lri.fr/cubicle-${version}.tar.gz";
|
||||
sha256 = "10kk80jdmpdvql88sdjsh7vqzlpaphd8vip2lp47aarxjkwjlz1q";
|
||||
url = "https://github.com/cubicle-model-checker/cubicle/archive/refs/tags/${version}.tar.gz";
|
||||
hash = "sha256-/EtbXpyXqRm0jGcMfGLAEwdr92061edjFys1V7/w6/Y=";
|
||||
};
|
||||
|
||||
# https://github.com/cubicle-model-checker/cubicle/issues/1
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in --replace "\\n" ""
|
||||
substituteInPlace Makefile.in \
|
||||
--replace "@OCAMLC@" "ocamlfind ocamlc -package num" \
|
||||
--replace "@OCAMLOPT@" "ocamlfind ocamlopt -package num"
|
||||
'';
|
||||
|
||||
buildInputs = with ocamlPackages; [ ocaml findlib functory ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
which
|
||||
] ++ (with ocamlPackages; [
|
||||
findlib
|
||||
ocaml
|
||||
]);
|
||||
|
||||
buildInputs = with ocamlPackages; [
|
||||
functory
|
||||
num
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open source model checker for verifying safety properties of array-based systems";
|
||||
|
|
|
@ -36145,9 +36145,7 @@ with pkgs;
|
|||
|
||||
crypto-org-wallet = callPackage ../applications/blockchains/crypto-org-wallet { };
|
||||
|
||||
cubicle = callPackage ../applications/science/logic/cubicle {
|
||||
ocamlPackages = ocaml-ng.ocamlPackages_4_05;
|
||||
};
|
||||
cubicle = callPackage ../applications/science/logic/cubicle { };
|
||||
|
||||
cvc3 = callPackage ../applications/science/logic/cvc3 {
|
||||
gmp = lib.overrideDerivation gmp (_: { dontDisableStatic = true; });
|
||||
|
|
Loading…
Reference in a new issue