2017-02-07 02:05:12 +01:00
|
|
|
{stdenv, fetchurl, readline, bison, flex, libX11, libICE, libXaw, libXext}:
|
2008-08-21 22:43:53 +02:00
|
|
|
|
2010-06-21 22:34:23 +02:00
|
|
|
stdenv.mkDerivation {
|
2017-02-01 23:13:35 +01:00
|
|
|
name = "ngspice-26";
|
2010-06-21 22:34:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-01 23:13:35 +01:00
|
|
|
url = "mirror://sourceforge/ngspice/ngspice-26.tar.gz";
|
|
|
|
sha256 = "51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108";
|
2008-08-21 22:43:53 +02:00
|
|
|
};
|
|
|
|
|
2017-02-07 02:05:12 +01:00
|
|
|
buildInputs = [ readline libX11 flex bison libICE libXaw libXext ];
|
2010-06-21 22:34:23 +02:00
|
|
|
|
2017-11-03 00:26:06 +01:00
|
|
|
configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" "--with-ngshared" ];
|
2008-08-21 22:43:53 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "The Next Generation Spice (Electronic Circuit Simulator)";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://ngspice.sourceforge.net;
|
2015-05-27 21:56:04 +02:00
|
|
|
license = with licenses; [ "BSD" gpl2 ];
|
2017-02-01 23:13:35 +01:00
|
|
|
maintainers = with maintainers; [ viric rongcuid ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2008-08-21 22:43:53 +02:00
|
|
|
};
|
|
|
|
}
|