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