Files
nixpkgs/pkgs/by-name/ab/abc-verifier/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
927 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
readline,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "abc-verifier";
version = "unstable-2023-10-13";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "abc";
rev = "896e5e7dedf9b9b1459fa019f1fa8aa8101fdf43";
hash = "sha256-ou+E2lvDEOxXRXNygE/TyVi7quqk+CJHRI+HDI0xljE=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ readline ];
installPhase = ''
runHook preInstall
install -Dm755 'abc' "$out/bin/abc"
runHook postInstall
'';
# needed by yosys
passthru.rev = finalAttrs.src.rev;
meta = {
description = "Tool for squential logic synthesis and formal verification";
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
thoughtpolice
Luflosi
];
mainProgram = "abc";
platforms = lib.platforms.unix;
};
})