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

25 lines
702 B
Nix
Raw Normal View History

2017-10-11 09:28:32 +02:00
{ stdenv, fetchurl, ocamlPackages }:
2017-04-22 18:40:09 +02:00
stdenv.mkDerivation rec {
name = "cubicle-${version}";
2017-10-11 09:28:32 +02:00
version = "1.1.1";
2017-04-22 18:40:09 +02:00
src = fetchurl {
url = "http://cubicle.lri.fr/cubicle-${version}.tar.gz";
2017-10-11 09:28:32 +02:00
sha256 = "1sny9c4fm14k014pk62ibpwbrjjirkx8xmhs9jg7q1hk7y7x3q2h";
2017-04-22 18:40:09 +02:00
};
2017-10-11 09:28:32 +02:00
postPatch = ''
substituteInPlace Makefile.in --replace "\\n" ""
'';
buildInputs = with ocamlPackages; [ ocaml findlib functory ];
2017-04-22 18:40:09 +02: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 18:40:09 +02:00
license = licenses.asl20;
2017-10-11 09:28:32 +02:00
platforms = platforms.unix;
2017-04-22 18:40:09 +02:00
maintainers = with maintainers; [ lucas8 ];
};
}