nixpkgs/pkgs/applications/science/electronics/verilator/default.nix
Pamplemousse 9839c0b292 verilator: 4.040 -> 4.100
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2020-09-16 08:40:01 -07:00

29 lines
774 B
Nix

{ stdenv, fetchurl
, perl, flex, bison
}:
stdenv.mkDerivation rec {
pname = "verilator";
version = "4.100";
src = fetchurl {
url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
sha256 = "0vg1gk1hqlnz74gfpf57588758myxvhqzi37yl4vqjcq40r83nr2";
};
enableParallelBuilding = true;
buildInputs = [ perl ];
nativeBuildInputs = [ flex bison ];
# these tests need some interpreter paths patched early on...
doCheck = false;
checkTarget = "test";
meta = with stdenv.lib; {
description = "Fast and robust (System)Verilog simulator/compiler";
homepage = "https://www.veripool.org/wiki/verilator";
license = licenses.lgpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
}