3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-30 13:56:33 +00:00
yosys/nix/pkgs/yosys.nix
Catherine 5f1d2297aa Migrate build system to CMake
See #5895 for details.

This commit does not include CI or documentation changes.
2026-05-19 14:37:53 +00:00

52 lines
631 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.cmakeFeature "YOSYS_CHECKOUT_INFO" rev)
];
enableParallelBuilding = true;
meta = with lib; {
description = "Yosys Open SYnthesis Suite";
homepage = "https://yosyshq.net/yosys/";
license = licenses.isc;
};
}