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 {
|
2019-08-02 09:31:30 +01:00
|
|
|
pname = "iverilog";
|
|
|
|
version = "unstable-2019-08-01";
|
2010-11-25 22:01:14 +00:00
|
|
|
|
2016-05-21 21:16:10 +01:00
|
|
|
src = fetchFromGitHub {
|
2019-04-22 18:26:34 +01:00
|
|
|
owner = "steveicarus";
|
2019-08-02 09:31:30 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "c383d2048c0bd15f5db083f14736400546fb6215";
|
|
|
|
sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
|
2010-11-25 22:01:14 +00:00
|
|
|
};
|
|
|
|
|
2019-04-22 18:26:34 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-08-02 09:31:30 +01:00
|
|
|
preConfigure = ''
|
2016-05-21 21:16:10 +01:00
|
|
|
chmod +x $PWD/autoconf.sh
|
|
|
|
$PWD/autoconf.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ autoconf gperf flex bison ];
|
2010-11-25 22:01:14 +00:00
|
|
|
|
2019-08-02 09:31:30 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-11-25 22:01:14 +00:00
|
|
|
description = "Icarus Verilog compiler";
|
2013-12-09 22:51:04 +00:00
|
|
|
repositories.git = https://github.com/steveicarus/iverilog.git;
|
2019-08-02 09:31:30 +01:00
|
|
|
homepage = "http://iverilog.icarus.com/";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ winden ];
|
|
|
|
platforms = platforms.linux;
|
2010-11-25 22:01:14 +00:00
|
|
|
};
|
|
|
|
}
|