From 509ce20dedf4b08fc0877dbe0b9fb16f008b6fef Mon Sep 17 00:00:00 2001 From: David Craven Date: Sat, 21 May 2016 22:16:10 +0200 Subject: [PATCH] verilog: 0.97 -> 2016.05.21 --- .../science/electronics/verilog/default.nix | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/science/electronics/verilog/default.nix b/pkgs/applications/science/electronics/verilog/default.nix index e68d2a4ab91a..d5c5f2ad1306 100644 --- a/pkgs/applications/science/electronics/verilog/default.nix +++ b/pkgs/applications/science/electronics/verilog/default.nix @@ -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";