3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/verilog/default.nix

32 lines
814 B
Nix
Raw Normal View History

2016-05-21 21:16:10 +01:00
{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }:
stdenv.mkDerivation rec {
pname = "iverilog";
version = "unstable-2019-08-01";
2016-05-21 21:16:10 +01:00
src = fetchFromGitHub {
owner = "steveicarus";
repo = pname;
rev = "c383d2048c0bd15f5db083f14736400546fb6215";
sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
};
enableParallelBuilding = true;
preConfigure = ''
2016-05-21 21:16:10 +01:00
chmod +x $PWD/autoconf.sh
$PWD/autoconf.sh
'';
buildInputs = [ autoconf gperf flex bison ];
meta = with stdenv.lib; {
description = "Icarus Verilog compiler";
repositories.git = https://github.com/steveicarus/iverilog.git;
homepage = "http://iverilog.icarus.com/";
license = licenses.lgpl21;
maintainers = with maintainers; [ winden ];
platforms = platforms.linux;
};
}