2014-05-10 04:37:41 +02:00
|
|
|
{ fetchhg, stdenv, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abc-verifier-${version}";
|
2015-06-14 21:39:13 +02:00
|
|
|
version = "20150614";
|
2014-05-10 04:37:41 +02:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "https://bitbucket.org/alanmi/abc";
|
2015-06-14 21:39:13 +02:00
|
|
|
rev = "38661894bc1287cad9bd35978bd252dbfe3e6c56";
|
|
|
|
sha256 = "04v0hkvj501r10pj3yrqrk2463d1d7lhl8dzfjwkmlbmlmpjlvvv";
|
2014-05-10 04:37:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ readline ];
|
2015-01-02 21:39:30 +01:00
|
|
|
preBuild = ''
|
2015-04-06 14:53:23 +02:00
|
|
|
export buildFlags="CC=$CC CXX=$CXX LD=$CXX"
|
2015-01-02 21:39:30 +01:00
|
|
|
'';
|
2014-05-10 04:37:41 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv abc $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-06-14 21:39:13 +02:00
|
|
|
description = "A tool for squential logic synthesis and ormal verification";
|
2014-05-10 04:37:41 +02:00
|
|
|
homepage = "www.eecs.berkeley.edu/~alanmi/abc/abc.htm";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|