nixpkgs/pkgs/applications/science/electronics/ngspice/default.nix

23 lines
762 B
Nix
Raw Normal View History

2017-02-07 01:05:12 +00:00
{stdenv, fetchurl, readline, bison, flex, libX11, libICE, libXaw, libXext}:
stdenv.mkDerivation {
name = "ngspice-27";
src = fetchurl {
url = "mirror://sourceforge/ngspice/ngspice-27.tar.gz";
sha256 = "15862npsy5sj56z5yd1qiv3y0fgicrzj7wwn8hbcy89fgbawf20c";
};
2017-02-07 01:05:12 +00:00
buildInputs = [ readline libX11 flex bison libICE libXaw libXext ];
configureFlags = [ "--enable-x" "--with-x" "--with-readline" "--enable-xspice" "--enable-cider" "--with-ngshared" ];
meta = with stdenv.lib; {
description = "The Next Generation Spice (Electronic Circuit Simulator)";
homepage = http://ngspice.sourceforge.net;
license = with licenses; [ "BSD" gpl2 ];
2017-02-01 22:13:35 +00:00
maintainers = with maintainers; [ viric rongcuid ];
platforms = platforms.linux;
};
}