verilog: 2019.03.27 -> 2019.08.1 (#65730)

verilog: 2019.03.27 -> 2019.08.1
This commit is contained in:
Jörg Thalheim 2019-08-02 11:20:17 +01:00 committed by GitHub
commit eddd2f88bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,31 +1,40 @@
{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }: { stdenv, fetchFromGitHub, autoconf, gperf, flex, bison, readline, ncurses
, bzip2, zlib
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "iverilog-${version}"; pname = "iverilog";
version = "2019.03.27"; version = "unstable-2019-08-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "steveicarus"; owner = "steveicarus";
repo = "iverilog"; repo = pname;
rev = "a9388a895eb85a9d7f2924b89f839f94e1b6d7c4"; rev = "c383d2048c0bd15f5db083f14736400546fb6215";
sha256 = "01d48sy3pzg9x1xpczqrsii2ckrvgnrfj720wiz22jdn90nirhhr"; sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
patchPhase = '' prePatch = ''
substituteInPlace configure.in \
--replace "AC_CHECK_LIB(termcap, tputs)" "AC_CHECK_LIB(termcap, tputs)"
'';
preConfigure = ''
chmod +x $PWD/autoconf.sh chmod +x $PWD/autoconf.sh
$PWD/autoconf.sh $PWD/autoconf.sh
''; '';
buildInputs = [ autoconf gperf flex bison ]; nativeBuildInputs = [ autoconf gperf flex bison ];
meta = { buildInputs = [ readline ncurses bzip2 zlib ];
meta = with stdenv.lib; {
description = "Icarus Verilog compiler"; description = "Icarus Verilog compiler";
repositories.git = https://github.com/steveicarus/iverilog.git; repositories.git = https://github.com/steveicarus/iverilog.git;
homepage = http://www.icarus.com; homepage = "http://iverilog.icarus.com/";
license = stdenv.lib.licenses.gpl2Plus; license = licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [winden]; maintainers = with maintainers; [ winden ];
platforms = with stdenv.lib.platforms; linux; platforms = platforms.linux;
}; };
} }