2016-05-21 13:16:10 -07:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }:
|
2010-11-25 14:01:14 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-21 13:16:10 -07:00
|
|
|
name = "iverilog-${version}";
|
2019-04-22 10:26:34 -07:00
|
|
|
version = "2019.03.27";
|
2010-11-25 14:01:14 -08:00
|
|
|
|
2016-05-21 13:16:10 -07:00
|
|
|
src = fetchFromGitHub {
|
2019-04-22 10:26:34 -07:00
|
|
|
owner = "steveicarus";
|
|
|
|
repo = "iverilog";
|
|
|
|
rev = "a9388a895eb85a9d7f2924b89f839f94e1b6d7c4";
|
|
|
|
sha256 = "01d48sy3pzg9x1xpczqrsii2ckrvgnrfj720wiz22jdn90nirhhr";
|
2010-11-25 14:01:14 -08:00
|
|
|
};
|
|
|
|
|
2019-04-22 10:26:34 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-05-21 13:16:10 -07:00
|
|
|
patchPhase = ''
|
|
|
|
chmod +x $PWD/autoconf.sh
|
|
|
|
$PWD/autoconf.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ autoconf gperf flex bison ];
|
2010-11-25 14:01:14 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Icarus Verilog compiler";
|
2013-12-09 14:51:04 -08:00
|
|
|
repositories.git = https://github.com/steveicarus/iverilog.git;
|
2010-11-25 14:01:14 -08:00
|
|
|
homepage = http://www.icarus.com;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-11-25 14:01:14 -08:00
|
|
|
maintainers = with stdenv.lib.maintainers; [winden];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|