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