mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
9e3690e87c
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 27 with grep in /nix/store/73sh9hf5c9fjgh962pd1ac16kr8dvzxg-ngspice-27 - found 27 in filename of file in /nix/store/73sh9hf5c9fjgh962pd1ac16kr8dvzxg-ngspice-27
23 lines
762 B
Nix
23 lines
762 B
Nix
{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";
|
|
};
|
|
|
|
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 ];
|
|
maintainers = with maintainers; [ viric rongcuid ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|