3
0
Fork 0
forked from mirrors/nixpkgs

verilator: 5.002 -> 5.006

This commit is contained in:
SharzyL 2023-02-06 22:40:11 +08:00
parent 75169d683d
commit c37fedf985
No known key found for this signature in database

View file

@ -1,22 +1,22 @@
{ lib, stdenv, fetchFromGitHub
, perl, flex, bison, python3, autoconf
, which, cmake
, which, cmake, help2man
}:
stdenv.mkDerivation rec {
pname = "verilator";
version = "5.002";
version = "5.006";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-RNoKAEF7zl+WqqbxGP/VvdQqQP8VI3hoQku3b/g0XpU=";
hash = "sha256-PA8hbE6XECapuaO5YcgEodOoxSDqpMucdijJBBb7fZg=";
};
enableParallelBuilding = true;
buildInputs = [ perl ];
nativeBuildInputs = [ flex bison python3 autoconf ];
nativeBuildInputs = [ flex bison python3 autoconf help2man ];
nativeCheckInputs = [ which ];
doCheck = stdenv.isLinux; # darwin tests are broken for now...
@ -24,14 +24,8 @@ stdenv.mkDerivation rec {
preConfigure = "autoconf";
preCheck = ''
patchShebangs \
src/flexfix \
src/vlcovgen \
bin/verilator \
bin/verilator_coverage \
test_regress/driver.pl \
test_regress/t/*.pl
postPatch = ''
patchShebangs bin/* src/{flexfix,vlcovgen} test_regress/{driver.pl,t/*.pl}
'';
meta = with lib; {