Skip to content

Commit

Permalink
verilog: 0.97 -> 2016.05.21
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed May 22, 2016
1 parent ce3d510 commit 509ce20
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions 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";
Expand Down

0 comments on commit 509ce20

Please sign in to comment.