nu-smv 2.6.0 (new formula)
Closes #32876. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
f9e463bd01
commit
1adaf3fcbd
1 changed files with 25 additions and 0 deletions
25
Formula/nu-smv.rb
Normal file
25
Formula/nu-smv.rb
Normal file
|
@ -0,0 +1,25 @@
|
|||
class NuSmv < Formula
|
||||
desc "Reimplementation and extension of SMV symbolic model checker"
|
||||
homepage "http://nusmv.fbk.eu"
|
||||
url "http://nusmv.fbk.eu/distrib/NuSMV-2.6.0.tar.gz"
|
||||
sha256 "dba953ed6e69965a68cd4992f9cdac6c449a3d15bf60d200f704d3a02e4bbcbb"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
||||
def install
|
||||
mkdir "NuSMV/build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test.smv").write <<~EOS
|
||||
MODULE main
|
||||
SPEC TRUE = TRUE
|
||||
EOS
|
||||
|
||||
output = shell_output("#{bin}/NuSMV test.smv")
|
||||
assert_match "specification TRUE = TRUE is true", output
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue