iverilog: unstable-2020-08-24 -> unstable-2020-10-24
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
9a7e4982dd
commit
58a906a7bf
@ -8,38 +8,33 @@ let
|
|||||||
iverilog-test = fetchFromGitHub {
|
iverilog-test = fetchFromGitHub {
|
||||||
owner = "steveicarus";
|
owner = "steveicarus";
|
||||||
repo = "ivtest";
|
repo = "ivtest";
|
||||||
rev = "6882cb8ec08926c4e356c6092f0c5f8c23328d5c";
|
rev = "d4c80beb845cad92136c05074b3910b822a9315f";
|
||||||
sha256 = "04sj5nqzwls1y760kgnd9c2whkcrr8kvj9lisd5rvk0w580kjb2x";
|
sha256 = "13cpnkki3xmhsh2v4bp2s35mhwknapcikdh85g4q6925ka940r45";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "iverilog";
|
pname = "iverilog";
|
||||||
version = "unstable-2020-08-24";
|
version = "unstable-2020-10-24";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "steveicarus";
|
owner = "steveicarus";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "d8556e4c86e1465b68bdc8d5ba2056ba95a42dfd";
|
rev = "d6e01d0c557253414109a4dde46b2966a5a3fb08";
|
||||||
sha256 = "sha256-sT9j/0Q2FD5MOGpH/quMGvAuM7t7QavRHKD9lX7Elfs=";
|
sha256 = "1bl75mbycj9zpjbpay8z12384yk9ih5q9agsrjh9pva0vv3h4y4y";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
chmod +x $PWD/autoconf.sh
|
|
||||||
$PWD/autoconf.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf gperf flex bison ];
|
nativeBuildInputs = [ autoconf gperf flex bison ];
|
||||||
|
|
||||||
buildInputs = [ readline ncurses bzip2 zlib ];
|
buildInputs = [ readline ncurses bzip2 zlib ];
|
||||||
|
|
||||||
# tests from .travis.yml
|
preConfigure = "bash $PWD/autoconf.sh";
|
||||||
doCheck = true; # runs ``make check``
|
|
||||||
# most tests pass, but some that rely on exact text of floating-point numbers fail on aarch64.
|
enableParallelBuilding = true;
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
# most tests pass, but some that rely on exact text of floating-point numbers
|
||||||
|
# fail on aarch64.
|
||||||
doInstallCheck = !stdenv.isAarch64;
|
doInstallCheck = !stdenv.isAarch64;
|
||||||
installCheckInputs = [ perl ];
|
installCheckInputs = [ perl ];
|
||||||
|
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
# copy tests to allow writing results
|
# copy tests to allow writing results
|
||||||
export TESTDIR=$(mktemp -d)
|
export TESTDIR=$(mktemp -d)
|
||||||
@ -60,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Icarus Verilog compiler";
|
description = "Icarus Verilog compiler";
|
||||||
homepage = "http://iverilog.icarus.com/";
|
homepage = "http://iverilog.icarus.com/";
|
||||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||||
maintainers = with maintainers; [ winden ];
|
maintainers = with maintainers; [ winden thoughtpolice ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user