git.iko.soy/typeable/nixpkgs
on master help sign in
verilator: 4.100 -> 4.108

Co-authored-by: Austin Seipp <aseipp@pobox.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>

commitc7ebdc8123d4765d3543a9345cb448ada81eac6d authoryangm2 <yangm2@users.noreply.github.com> dateTue 12 Jan 2021, 20:15 (6 years ago) parent199c002
1 file changed+11−4
pkgs/applications/science/electronics/verilator/default.nix+11−4
pkgs/applications/science/electronics/verilator/default.nix+11−4
@@ -1,24 +1,31 @@
11{ lib, stdenv, fetchurl
2−, perl, flex, bison
2+, perl, flex, bison, python3
33}:
44
55stdenv.mkDerivation rec {
66 pname = "verilator";
7− version = "4.100";
7+ version = "4.108";
88
99 src = fetchurl {
1010 url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
11− sha256 = "0vg1gk1hqlnz74gfpf57588758myxvhqzi37yl4vqjcq40r83nr2";
11+ sha256 = "00i7am41w9v4smhl64z7s95wdb55f684y89mc0hbc07j1ggc33lf";
1212 };
1313
1414 enableParallelBuilding = true;
1515 buildInputs = [ perl ];
16− nativeBuildInputs = [ flex bison ];
16+ nativeBuildInputs = [ flex bison python3 ];
1717
1818 # these tests need some interpreter paths patched early on...
19+ # see https://github.com/NixOS/nix/issues/1205
1920 doCheck = false;
2021 checkTarget = "test";
2122
23+ postPatch = ''
24+ patchShebangs \
25+ src/flexfix \
26+ src/vlcovgen
27+ '';
28+
2229 meta = with lib; {
2330 description = "Fast and robust (System)Verilog simulator/compiler";
2431 homepage = "https://www.veripool.org/wiki/verilator";