Skip to content

Commit

Permalink
iverilog: unstable-2020-08-24 -> unstable-2020-10-24
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <aseipp@pobox.com>
  • Loading branch information
thoughtpolice committed Nov 12, 2020
1 parent 9a7e498 commit 58a906a
Showing 1 changed file with 21 additions and 26 deletions.
47 changes: 21 additions & 26 deletions pkgs/applications/science/electronics/verilog/default.nix
Expand Up @@ -6,40 +6,35 @@

let
iverilog-test = fetchFromGitHub {
owner = "steveicarus";
repo = "ivtest";
rev = "6882cb8ec08926c4e356c6092f0c5f8c23328d5c";
sha256 = "04sj5nqzwls1y760kgnd9c2whkcrr8kvj9lisd5rvk0w580kjb2x";
owner = "steveicarus";
repo = "ivtest";
rev = "d4c80beb845cad92136c05074b3910b822a9315f";
sha256 = "13cpnkki3xmhsh2v4bp2s35mhwknapcikdh85g4q6925ka940r45";
};
in
stdenv.mkDerivation rec {
pname = "iverilog";
version = "unstable-2020-08-24";
pname = "iverilog";
version = "unstable-2020-10-24";

src = fetchFromGitHub {
owner = "steveicarus";
repo = pname;
rev = "d8556e4c86e1465b68bdc8d5ba2056ba95a42dfd";
sha256 = "sha256-sT9j/0Q2FD5MOGpH/quMGvAuM7t7QavRHKD9lX7Elfs=";
owner = "steveicarus";
repo = pname;
rev = "d6e01d0c557253414109a4dde46b2966a5a3fb08";
sha256 = "1bl75mbycj9zpjbpay8z12384yk9ih5q9agsrjh9pva0vv3h4y4y";
};

enableParallelBuilding = true;

preConfigure = ''
chmod +x $PWD/autoconf.sh
$PWD/autoconf.sh
'';

nativeBuildInputs = [ autoconf gperf flex bison ];

buildInputs = [ readline ncurses bzip2 zlib ];

# tests from .travis.yml
doCheck = true; # runs ``make check``
# most tests pass, but some that rely on exact text of floating-point numbers fail on aarch64.
preConfigure = "bash $PWD/autoconf.sh";

enableParallelBuilding = true;
doCheck = true;

# most tests pass, but some that rely on exact text of floating-point numbers
# fail on aarch64.
doInstallCheck = !stdenv.isAarch64;
installCheckInputs = [ perl ];

installCheckPhase = ''
# copy tests to allow writing results
export TESTDIR=$(mktemp -d)
Expand All @@ -58,9 +53,9 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Icarus Verilog compiler";
homepage = "http://iverilog.icarus.com/";
license = with licenses; [ gpl2Plus lgpl21Plus] ;
maintainers = with maintainers; [ winden ];
platforms = platforms.all;
homepage = "http://iverilog.icarus.com/";
license = with licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with maintainers; [ winden thoughtpolice ];
platforms = platforms.all;
};
}

2 comments on commit 58a906a

@prusnak
Copy link
Member

@prusnak prusnak commented on 58a906a Nov 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this committed to master without a pull request?

I had a PR to latest stable (11.0) waiting here for over a week - #102943

Another question: Why did you update to random commit from master (containing 12.x unstable) when there was a stable release (11.0) a few days ago? Any special reason for doing so? If not, I prefer merging my PR to stay on the latest stable which is just a few days older.

@thoughtpolice
Copy link
Member Author

@thoughtpolice thoughtpolice commented on 58a906a Nov 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Note: I gave a full answer to the above and more in #102943, so please see it there.)

Please sign in to comment.