3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 19:36:21 +00:00
yosys/nix/pkgs/yosys.nix
Catherine 9b087b4aa7 Migrate build system to CMake
See #5895 for details.

This commit does not include CI or documentation changes.
2026-05-23 03:48:24 +00:00

53 lines
689 B
Nix

{
bison,
cmake,
flex,
gtest,
lib,
libffi,
pkg-config,
python3,
readline,
ninja,
stdenv,
tcl,
zlib,
src,
rev,
...
}:
stdenv.mkDerivation {
name = "yosys";
inherit src;
nativeBuildInputs = [
bison
cmake
flex
pkg-config
python3
ninja
];
buildInputs = [
gtest
libffi
readline
tcl
zlib
];
cmakeFlags = [
(lib.cmakeBool "YOSYS_SKIP_ABC_SUBMODULE_CHECK" true)
(lib.cmakeFeature "YOSYS_CHECKOUT_INFO" rev)
];
enableParallelBuilding = true;
meta = with lib; {
description = "Yosys Open SYnthesis Suite";
homepage = "https://yosyshq.net/yosys/";
license = licenses.isc;
};
}