git.iko.soy/typeable/nixpkgs
on master help sign in
verilog: 2019.03.27 -> 2019.08.1 (#65730)

verilog: 2019.03.27 -> 2019.08.1

commiteddd2f88bc82c28c84340d3c31a7582fc2a6cb54 authorJörg Thalheim <Mic92@users.noreply.github.com> dateFri 2 Aug 2019, 11:20 (7 years ago) parent32b24cc9c50ec6
1 file changed+22−13
pkgs/applications/science/electronics/verilog/default.nix+22−13
pkgs/applications/science/electronics/verilog/default.nix+22−13
@@ -1,31 +1,40 @@
1−{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }:
1+{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison, readline, ncurses
2+, bzip2, zlib
3+}:
24
35stdenv.mkDerivation rec {
4− name = "iverilog-${version}";
5− version = "2019.03.27";
6+ pname = "iverilog";
7+ version = "unstable-2019-08-01";
68
79 src = fetchFromGitHub {
810 owner = "steveicarus";
9− repo = "iverilog";
10− rev = "a9388a895eb85a9d7f2924b89f839f94e1b6d7c4";
11− sha256 = "01d48sy3pzg9x1xpczqrsii2ckrvgnrfj720wiz22jdn90nirhhr";
11+ repo = pname;
12+ rev = "c383d2048c0bd15f5db083f14736400546fb6215";
13+ sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
1214 };
1315
1416 enableParallelBuilding = true;
1517
16− patchPhase = ''
18+ prePatch = ''
19+ substituteInPlace configure.in \
20+ --replace "AC_CHECK_LIB(termcap, tputs)" "AC_CHECK_LIB(termcap, tputs)"
21+ '';
22+
23+ preConfigure = ''
1724 chmod +x $PWD/autoconf.sh
1825 $PWD/autoconf.sh
1926 '';
2027
21− buildInputs = [ autoconf gperf flex bison ];
28+ nativeBuildInputs = [ autoconf gperf flex bison ];
29+
30+ buildInputs = [ readline ncurses bzip2 zlib ];
2231
23− meta = {
32+ meta = with stdenv.lib; {
2433 description = "Icarus Verilog compiler";
2534 repositories.git = https://github.com/steveicarus/iverilog.git;
26− homepage = http://www.icarus.com;
27− license = stdenv.lib.licenses.gpl2Plus;
28− maintainers = with stdenv.lib.maintainers; [winden];
29− platforms = with stdenv.lib.platforms; linux;
35+ homepage = "http://iverilog.icarus.com/";
36+ license = licenses.lgpl21;
37+ maintainers = with maintainers; [ winden ];
38+ platforms = platforms.linux;
3039 };
3140}