nixpkgs/pkgs/applications/science/electronics/verilator/default.nix

23 lines
654 B
Nix
Raw Normal View History

2017-07-29 17:26:59 +00:00
{ stdenv, fetchurl, perl, flex, bison }:
stdenv.mkDerivation rec {
pname = "verilator";
version = "4.036";
src = fetchurl {
url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
sha256 = "1sy02pgq3kvk8548l57hsh08vfbqdg8dghj8mwlybdi8fdjz4z1h";
};
enableParallelBuilding = true;
2017-07-29 17:26:59 +00:00
buildInputs = [ perl flex bison ];
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.unix;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
};
}