2010-06-21 22:34:23 +02:00
|
|
|
{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
|
2008-08-21 22:43:53 +02:00
|
|
|
|
2010-06-21 22:34:23 +02:00
|
|
|
stdenv.mkDerivation {
|
2015-08-08 19:55:40 +02:00
|
|
|
name = "ngspice-25";
|
2010-06-21 22:34:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-23 04:27:10 +01:00
|
|
|
url = "mirror://sourceforge/ngspice/ngspice-25.tar.gz";
|
|
|
|
sha256 = "03hlxwvl2j1wlb5yg4swvmph9gja37c2gqvwvzv6z16vg2wvn06h";
|
2008-08-21 22:43:53 +02:00
|
|
|
};
|
|
|
|
|
2010-06-21 22:34:23 +02:00
|
|
|
buildInputs = [ readline libX11 bison libICE libXaw libXext ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-x" "--with-x" "--with-readline" ];
|
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)";
|
2012-10-28 17:27:13 +01:00
|
|
|
homepage = "http://ngspice.sourceforge.net";
|
2015-05-27 21:56:04 +02:00
|
|
|
license = with licenses; [ "BSD" gpl2 ];
|
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; linux;
|
2008-08-21 22:43:53 +02:00
|
|
|
};
|
|
|
|
}
|