From acce1d9ad26bbec08b9e8621e9afdd66da4475ef Mon Sep 17 00:00:00 2001 From: Rongcui Dong Date: Mon, 6 Feb 2017 17:05:12 -0800 Subject: [PATCH] ngspice: Add XSpice and Cider support --- pkgs/applications/science/electronics/ngspice/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/electronics/ngspice/default.nix b/pkgs/applications/science/electronics/ngspice/default.nix index 7a493e14bca7..dfcdac20ae08 100644 --- a/pkgs/applications/science/electronics/ngspice/default.nix +++ b/pkgs/applications/science/electronics/ngspice/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}: +{stdenv, fetchurl, readline, bison, flex, libX11, libICE, libXaw, libXext}: stdenv.mkDerivation { name = "ngspice-26"; @@ -8,9 +8,9 @@ stdenv.mkDerivation { sha256 = "51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108"; }; - buildInputs = [ readline libX11 bison libICE libXaw libXext ]; + buildInputs = [ readline libX11 flex bison libICE libXaw libXext ]; - configureFlags = [ "--enable-x" "--with-x" "--with-readline" ]; + configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" ]; meta = with stdenv.lib; { description = "The Next Generation Spice (Electronic Circuit Simulator)";