nixpkgs/pkgs/applications/science/logic/cubicle/default.nix

25 lines
697 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, ocamlPackages }:
2017-04-22 16:40:09 +00:00
stdenv.mkDerivation rec {
pname = "cubicle";
version = "1.1.2";
2017-04-22 16:40:09 +00:00
src = fetchurl {
url = "http://cubicle.lri.fr/cubicle-${version}.tar.gz";
sha256 = "10kk80jdmpdvql88sdjsh7vqzlpaphd8vip2lp47aarxjkwjlz1q";
2017-04-22 16:40:09 +00:00
};
2017-10-11 07:28:32 +00:00
postPatch = ''
substituteInPlace Makefile.in --replace "\\n" ""
'';
buildInputs = with ocamlPackages; [ ocaml findlib functory ];
2017-04-22 16:40:09 +00:00
meta = with lib; {
2017-04-22 16:40:09 +00:00
description = "An open source model checker for verifying safety properties of array-based systems";
homepage = "http://cubicle.lri.fr/";
2017-04-22 16:40:09 +00:00
license = licenses.asl20;
2017-10-11 07:28:32 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ dwarfmaster ];
2017-04-22 16:40:09 +00:00
};
}