2014-05-10 04:37:41 +02:00
|
|
|
{ fetchhg, stdenv, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abc-verifier-${version}";
|
2016-08-19 03:32:36 +02:00
|
|
|
version = "20160818";
|
2014-05-10 04:37:41 +02:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "https://bitbucket.org/alanmi/abc";
|
2016-08-19 03:32:36 +02:00
|
|
|
rev = "a2e5bc66a68a72ccd267949e5c9973dd18f8932a";
|
|
|
|
sha256 = "09yvhj53af91nc54gmy7cbp7yljfcyj68a87494r5xvdfnsj11gy";
|
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";
|
2017-04-24 01:45:36 +02:00
|
|
|
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc/abc.htm";
|
2014-05-10 04:37:41 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|