2018-06-13 12:48:15 +01:00
|
|
|
{stdenv, fetchurl, bison, flex
|
|
|
|
, readline, libX11, libICE, libXaw, libXmu, libXext, libXt, fftw }:
|
2008-08-21 21:43:53 +01:00
|
|
|
|
2010-06-21 21:34:23 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-11-09 14:07:46 +00:00
|
|
|
name = "ngspice-29";
|
2010-06-21 21:34:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-11-09 14:07:46 +00:00
|
|
|
url = "mirror://sourceforge/ngspice/ngspice-29.tar.gz";
|
|
|
|
sha256 = "0jjwz73naq7l9yhwdqbpnrfckywp2ffkppivxjv8w92zq7xhyvcd";
|
2008-08-21 21:43:53 +01:00
|
|
|
};
|
|
|
|
|
2018-03-22 21:58:57 +00:00
|
|
|
nativeBuildInputs = [ flex bison ];
|
2018-06-13 12:48:15 +01:00
|
|
|
buildInputs = [ readline libX11 libICE libXaw libXmu libXext libXt fftw ];
|
2010-06-21 21:34:23 +01:00
|
|
|
|
2018-03-22 21:58:57 +00:00
|
|
|
configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" ];
|
2008-08-21 21:43:53 +01:00
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "The Next Generation Spice (Electronic Circuit Simulator)";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://ngspice.sourceforge.net;
|
2015-05-27 20:56:04 +01:00
|
|
|
license = with licenses; [ "BSD" gpl2 ];
|
2018-07-22 20:50:19 +01:00
|
|
|
maintainers = with maintainers; [ bgamari rongcuid ];
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.linux;
|
2008-08-21 21:43:53 +01:00
|
|
|
};
|
|
|
|
}
|