Updating qucs to 0.18

Patch by 'emery' on irc.

+5 -6
+5 -6
pkgs/applications/science/electronics/qucs/default.nix
··· 1 - {stdenv, fetchurl, qt3, libX11}: 1 + {stdenv, fetchurl, flex, bison, qt4, libX11 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "qucs-0.0.16"; 4 + name = "qucs-0.0.18"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/qucs/${name}.tar.gz"; 8 - sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy"; 8 + sha256 = "3609a18b57485dc9f19886ac6694667f3251702175bd1cbbbea37981b2c482a7"; 9 9 }; 10 10 11 - patches = [ ./tr1-complex.patch ]; 12 - patchFlags = "-p0"; 11 + QTDIR=qt4; 13 12 14 - buildInputs = [ qt3 libX11 ]; 13 + buildInputs = [ flex bison qt4 libX11 ]; 15 14 16 15 meta = { 17 16 description = "Integrated circuit simulator";