verilog: 0.97 -> 2016.05.21

This commit is contained in:
David Craven 2016-05-21 22:16:10 +02:00
parent ce3d510d90
commit 509ce20ded

View file

@ -1,14 +1,22 @@
{stdenv, fetchurl, gperf, flex, bison}:
{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }:
stdenv.mkDerivation rec {
name = "verilog-0.9.7";
name = "iverilog-${version}";
version = "2016.05.21";
src = fetchurl {
url = "mirror://sourceforge/iverilog/${name}.tar.gz";
sha256 = "0m3liqw7kq24vn7k8wvi630ljz0awz23r3sd4rcklk7vgghp4pks";
src = fetchFromGitHub {
owner = "steveicarus";
repo = "iverilog";
rev = "45fbf558065c0fdac9aa088ecd34e9bf49e81305";
sha256 = "137p7gkmp5kwih93i2a3lcf36a6k38j7fxglvw9y59w0233vj452";
};
buildInputs = [ gperf flex bison ];
patchPhase = ''
chmod +x $PWD/autoconf.sh
$PWD/autoconf.sh
'';
buildInputs = [ autoconf gperf flex bison ];
meta = {
description = "Icarus Verilog compiler";