2017-07-29 10:26:59 -07:00
|
|
|
{ stdenv, fetchurl, perl, flex, bison }:
|
2015-05-31 15:07:44 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "verilator";
|
2020-05-10 16:39:11 -07:00
|
|
|
version = "4.034";
|
2015-05-31 15:07:44 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
|
2020-05-10 16:39:11 -07:00
|
|
|
sha256 = "02xqvl9ic21jpda0xldh4ihqwl4ss8389s8fklgx5d98xq37pval";
|
2015-05-31 15:07:44 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2017-07-29 10:26:59 -07:00
|
|
|
buildInputs = [ perl flex bison ];
|
2015-05-31 15:07:44 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fast and robust (System)Verilog simulator/compiler";
|
2018-01-05 11:42:46 -08:00
|
|
|
homepage = "https://www.veripool.org/wiki/verilator";
|
2015-05-31 15:07:44 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
2018-07-05 15:16:21 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-05-31 15:07:44 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|