b75e083c69
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/verilator/versions. These checks were done: - built on NixOS - /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator_bin passed the binary check. - /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator_bin_dbg passed the binary check. - /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator_coverage_bin_dbg passed the binary check. - /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator passed the binary check. - /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator_coverage passed the binary check. - Warning: no invocation of /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924/bin/verilator_profcfunc had a zero exit code or showed the expected version - 5 of 6 passed binary check by having a zero exit code. - 0 of 6 passed binary check by having the new version present in output. - found 3.924 with grep in /nix/store/gnmapahqvab762fi885bwhlfhxvpfs81-verilator-3.924 - directory tree listing: https://gist.github.com/eebd214973454154b716fc6a9556b922 - du listing: https://gist.github.com/cb78abec038b5abdae8004ea1edcefc0
26 lines
790 B
Nix
26 lines
790 B
Nix
{ stdenv, fetchurl, perl, flex, bison }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "verilator-${version}";
|
|
version = "3.924";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.veripool.org/ftp/${name}.tgz";
|
|
sha256 = "0xarifraycmdzjxs0lscpwvrwr59z84p8g8dkyjssc463dqikjvx";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
buildInputs = [ perl flex bison ];
|
|
|
|
postInstall = ''
|
|
sed -i -e '3a\#!/usr/bin/env perl' -e '1,3d' $out/bin/{verilator,verilator_coverage,verilator_profcfunc}
|
|
'';
|
|
|
|
meta = {
|
|
description = "Fast and robust (System)Verilog simulator/compiler";
|
|
homepage = "https://www.veripool.org/wiki/verilator";
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|