2018-07-13 04:36:01 +02:00
|
|
|
{ fetchFromGitHub, stdenv, readline, cmake }:
|
2014-05-10 04:37:41 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "abc-verifier";
|
2018-07-13 04:36:01 +02:00
|
|
|
version = "2018-07-08";
|
2014-05-10 04:37:41 +02:00
|
|
|
|
2018-07-13 04:36:01 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "berkeley-abc";
|
|
|
|
repo = "abc";
|
|
|
|
rev = "24407e13db4b8ca16c3996049b2d33ec3722de39";
|
|
|
|
sha256 = "1rckji7nk81n6v1yajz7daqwipxacv7zlafknvmbiwji30j47sq5";
|
2014-05-10 04:37:41 +02:00
|
|
|
};
|
|
|
|
|
2018-07-13 04:36:01 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-05-10 04:37:41 +02:00
|
|
|
buildInputs = [ readline ];
|
2018-07-13 04:36:01 +02:00
|
|
|
|
2014-05-10 04:37:41 +02:00
|
|
|
enableParallelBuilding = true;
|
2018-07-13 04:36:01 +02:00
|
|
|
|
2014-05-10 04:37:41 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv abc $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-07-15 09:26:38 +02:00
|
|
|
description = "A tool for squential logic synthesis and formal verification";
|
2018-07-13 04:36:01 +02:00
|
|
|
homepage = https://people.eecs.berkeley.edu/~alanmi/abc;
|
2014-05-10 04:37:41 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|