diff --git a/pkgs/applications/science/logic/abc/default.nix b/pkgs/applications/science/logic/abc/default.nix new file mode 100644 index 000000000000..a8076b9e29ea --- /dev/null +++ b/pkgs/applications/science/logic/abc/default.nix @@ -0,0 +1,27 @@ +{ fetchhg, stdenv, readline }: + +stdenv.mkDerivation rec { + name = "abc-verifier-${version}"; + version = "140509"; # YYMMDD + + src = fetchhg { + url = "https://bitbucket.org/alanmi/abc"; + tag = "03e221443d71e49e56cbc37f1907ee3b0ff3e7c9"; + sha256 = "0ahrqg718y7xpv939f6x8w1kqh7wsja4pw8hca7j67j0qjdgb4lm"; + }; + + buildInputs = [ readline ]; + enableParallelBuilding = true; + installPhase = '' + mkdir -p $out/bin + mv abc $out/bin + ''; + + meta = { + description = "Sequential Logic Synthesis and Formal Verification"; + homepage = "www.eecs.berkeley.edu/~alanmi/abc/abc.htm"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; + maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 619832b6a037..4a61d064bf2e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10394,6 +10394,8 @@ let ### SCIENCE/LOGIC + abc-verifier = callPackage ../applications/science/logic/abc {}; + alt-ergo = callPackage ../applications/science/logic/alt-ergo {}; coq = callPackage ../applications/science/logic/coq {