@@ -0,0 +1,22 @@
1+{ stdenv, fetchurl, perl, flex, bison }:
2+
3+stdenv.mkDerivation rec {
4+ name = "verilator-${version}";
5+ version = "3.872";
6+
7+ src = fetchurl {
8+ url = "http://www.veripool.org/ftp/${name}.tgz";
9+ sha256 = "113ha7vy6lsi9zygiy3rnsd3dhi5y8lkfsfrh0nwzady7147l2yh";
10+ };
11+
12+ enableParallelBuilding = true;
13+ buildInputs = [ perl flex bison ];
14+
15+ meta = {
16+ description = "Fast and robust (System)Verilog simulator/compiler";
17+ homepage = "http://www.veripool.org/wiki/verilator";
18+ license = stdenv.lib.licenses.lgpl3;
19+ platforms = stdenv.lib.platforms.linux;
20+ maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
21+ };
22+}