2014-05-10 04:37:41 +02:00
|
|
|
{ fetchhg, stdenv, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abc-verifier-${version}";
|
|
|
|
version = "140509"; # YYMMDD
|
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "https://bitbucket.org/alanmi/abc";
|
2014-06-28 20:33:28 +02:00
|
|
|
rev = "03e221443d71e49e56cbc37f1907ee3b0ff3e7c9";
|
2014-05-10 04:37:41 +02:00
|
|
|
sha256 = "0ahrqg718y7xpv939f6x8w1kqh7wsja4pw8hca7j67j0qjdgb4lm";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ readline ];
|
2015-01-02 21:39:30 +01:00
|
|
|
preBuild = ''
|
|
|
|
export buildFlags="CC=$CC CXX=$CXX LD=$LD"
|
|
|
|
'';
|
2014-05-10 04:37:41 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|