2018-07-13 03:36:01 +01:00
|
|
|
{ fetchFromGitHub, stdenv, readline, cmake }:
|
2014-05-10 03:37:41 +01:00
|
|
|
|
2020-02-01 11:33:46 +00:00
|
|
|
let
|
|
|
|
rev = "71f2b40320127561175ad60f6f2428f3438e5243";
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "abc-verifier";
|
2020-02-01 11:16:45 +00:00
|
|
|
version = "2020-01-11";
|
2014-05-10 03:37:41 +01:00
|
|
|
|
2018-07-13 03:36:01 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-02-01 11:33:46 +00:00
|
|
|
inherit rev;
|
2018-07-13 03:36:01 +01:00
|
|
|
owner = "berkeley-abc";
|
|
|
|
repo = "abc";
|
2020-02-01 11:16:45 +00:00
|
|
|
sha256 = "15sn146ajxql7l1h8rsag5lhn4spwvgjhwzqawfr78snzadw8by3";
|
2014-05-10 03:37:41 +01:00
|
|
|
};
|
|
|
|
|
2020-02-01 11:33:46 +00:00
|
|
|
passthru.rev = rev;
|
|
|
|
|
2018-07-13 03:36:01 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-05-10 03:37:41 +01:00
|
|
|
buildInputs = [ readline ];
|
2018-07-13 03:36:01 +01:00
|
|
|
|
2014-05-10 03:37:41 +01:00
|
|
|
enableParallelBuilding = true;
|
2018-07-13 03:36:01 +01:00
|
|
|
|
2014-05-10 03:37:41 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv abc $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-07-15 08:26:38 +01:00
|
|
|
description = "A tool for squential logic synthesis and formal verification";
|
2018-07-13 03:36:01 +01:00
|
|
|
homepage = https://people.eecs.berkeley.edu/~alanmi/abc;
|
2014-05-10 03:37:41 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|