ngspice: Move shared library to a new derivation
It turns out that the build system does not support building both the command-line tool and the shared library at the same time. Consequently the ngspice derivation has not provided the command-line tools since the shared library was enabled in #31166.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, readline, bison, flex, libX11, libICE, libXaw, libXext}:
|
||||
{stdenv, fetchurl, readline, bison, flex, libX11, libICE, libXaw, libXext, fftw}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ngspice-27";
|
||||
@@ -8,15 +8,16 @@ stdenv.mkDerivation {
|
||||
sha256 = "15862npsy5sj56z5yd1qiv3y0fgicrzj7wwn8hbcy89fgbawf20c";
|
||||
};
|
||||
|
||||
buildInputs = [ readline libX11 flex bison libICE libXaw libXext ];
|
||||
nativeBuildInputs = [ flex bison ];
|
||||
buildInputs = [ readline libX11 libICE libXaw libXext fftw ];
|
||||
|
||||
configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" "--with-ngshared" ];
|
||||
configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The Next Generation Spice (Electronic Circuit Simulator)";
|
||||
homepage = http://ngspice.sourceforge.net;
|
||||
license = with licenses; [ "BSD" gpl2 ];
|
||||
maintainers = with maintainers; [ viric rongcuid ];
|
||||
maintainers = with maintainers; [ bgamari viric rongcuid ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user