nixpkgs: add 'avy' -- property directed AIGER model checking
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/avy/CMakeLists.txt b/avy/CMakeLists.txt
|
||||||
|
index 5913076..b0453b5 100644
|
||||||
|
--- a/avy/CMakeLists.txt
|
||||||
|
+++ b/avy/CMakeLists.txt
|
||||||
|
@@ -23,7 +23,6 @@ if (CUSTOM_BOOST_ROOT)
|
||||||
|
set (Boost_NO_SYSTEM_PATHS "ON")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-set (Boost_USE_STATIC_LIBS ON)
|
||||||
|
find_package (Boost 1.46.1 REQUIRED program_options)
|
||||||
|
IF (Boost_FOUND)
|
||||||
|
include_directories (${Boost_INCLUDE_DIRS})
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchgit, cmake, zlib, boost }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "avy-${version}";
|
||||||
|
version = "2017.10.16";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://bitbucket.org/arieg/extavy";
|
||||||
|
rev = "c75c83379c38d6ea1046d0caee95aef77283ffe3";
|
||||||
|
sha256 = "0zcycnypg4q5g710bnkjpycaawmibc092vmyhgfbixkgq9fb5lfh";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake zlib boost.out boost.dev ];
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ];
|
||||||
|
patches =
|
||||||
|
[ ./0001-no-static-boost-libs.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp avy/src/{avy,avybmc} $out/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "AIGER model checking for Property Directed Reachability";
|
||||||
|
homepage = https://arieg.bitbucket.io/avy/;
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -18682,6 +18682,8 @@ with pkgs;
|
|||||||
|
|
||||||
z3 = callPackage ../applications/science/logic/z3 {};
|
z3 = callPackage ../applications/science/logic/z3 {};
|
||||||
|
|
||||||
|
avy = callPackage ../applications/science/logic/avy {};
|
||||||
|
|
||||||
boolector = callPackage ../applications/science/logic/boolector {};
|
boolector = callPackage ../applications/science/logic/boolector {};
|
||||||
|
|
||||||
symbiyosys = callPackage ../applications/science/logic/symbiyosys {};
|
symbiyosys = callPackage ../applications/science/logic/symbiyosys {};
|
||||||
|
|||||||
Reference in New Issue
Block a user