2010-06-21 21:34:23 +01:00
|
|
|
{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
|
2008-08-21 21:43:53 +01:00
|
|
|
|
2010-06-21 21:34:23 +01:00
|
|
|
stdenv.mkDerivation {
|
2012-10-28 16:27:13 +00:00
|
|
|
name = "ng-spice-rework-24";
|
2010-06-21 21:34:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-28 16:27:13 +00:00
|
|
|
url = "mirror://sourceforge/ngspice/ngspice-24.tar.gz";
|
|
|
|
sha256 = "0rgh75hbqrsljz767whbj65wi6369yc286v0qk8jxnv2da7p9ll6";
|
2008-08-21 21:43:53 +01:00
|
|
|
};
|
|
|
|
|
2010-06-21 21:34:23 +01:00
|
|
|
buildInputs = [ readline libX11 bison libICE libXaw libXext ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-x" "--with-x" "--with-readline" ];
|
2008-08-21 21:43:53 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-06-21 21:34:23 +01:00
|
|
|
description = "The Next Generation Spice (Electronic Circuit Simulator).";
|
2012-10-28 16:27:13 +00:00
|
|
|
homepage = "http://ngspice.sourceforge.net";
|
2010-06-21 21:34:23 +01:00
|
|
|
license = ["BSD" "GPLv2"];
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2008-08-21 21:43:53 +01:00
|
|
|
};
|
|
|
|
}
|