c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
32 lines
831 B
Nix
32 lines
831 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, readline, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "abc-verifier";
|
|
version = "unstable-2022-09-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yosyshq";
|
|
repo = "abc";
|
|
rev = "ab5b16ede2ff3a4ab5209df24db2c76700899684";
|
|
hash = "sha256-G4MnBViwIosFDiPfUimGqf6fq1KJlxj+LozmgoKaH3A=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ readline ];
|
|
|
|
installPhase = "mkdir -p $out/bin && mv abc $out/bin";
|
|
|
|
# needed by yosys
|
|
passthru.rev = src.rev;
|
|
|
|
meta = with lib; {
|
|
description = "A tool for squential logic synthesis and formal verification";
|
|
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
mainProgram = "abc";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|