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

25 lines
702 B
Nix
Raw Normal View History

2017-10-11 07:28:32 +00:00
{ stdenv, fetchurl, ocamlPackages }:
2017-04-22 16:40:09 +00:00
stdenv.mkDerivation rec {
name = "cubicle-${version}";
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 stdenv.lib; {
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;
2017-04-22 16:40:09 +00:00
maintainers = with maintainers; [ lucas8 ];
};
}