summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2014-10-29 10:29:30 +0100
committerLluís Batlle i Rossell <viric@viric.name>2014-10-29 10:29:53 +0100
commitf7f7a0d0f4cc663804922b5dfeb8807856c25ea1 (patch)
tree1a39102053067cd7061836894ccf64475d90387f /pkgs/applications/science
parente67f89261f30e2a5d9f84ddbf9e823d93cea73fb (diff)
downloadnixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar.gz
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar.bz2
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar.lz
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar.xz
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.tar.zst
nixpkgs-f7f7a0d0f4cc663804922b5dfeb8807856c25ea1.zip
Updating qucs to 0.18
Patch by 'emery' on irc.
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/electronics/qucs/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/applications/science/electronics/qucs/default.nix b/pkgs/applications/science/electronics/qucs/default.nix
index dd3eaecc744..6d89d9e5271 100644
--- a/pkgs/applications/science/electronics/qucs/default.nix
+++ b/pkgs/applications/science/electronics/qucs/default.nix
@@ -1,17 +1,16 @@
-{stdenv, fetchurl, qt3, libX11}:
+{stdenv, fetchurl, flex, bison, qt4, libX11 }:
 
 stdenv.mkDerivation rec {
-  name = "qucs-0.0.16";
+  name = "qucs-0.0.18";
 
   src = fetchurl {
     url = "mirror://sourceforge/qucs/${name}.tar.gz";
-    sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy";
+    sha256 = "3609a18b57485dc9f19886ac6694667f3251702175bd1cbbbea37981b2c482a7";
   };
 
-  patches = [ ./tr1-complex.patch ];
-  patchFlags = "-p0";
+  QTDIR=qt4;
 
-  buildInputs = [ qt3 libX11 ];
+  buildInputs = [ flex bison qt4 libX11 ];
 
   meta = {
     description = "Integrated circuit simulator";