mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
66d7126255
Since years I'm not maintaining anything of the list below other than some updates when I needed them for some reason. Other people is doing that maintenance on my behalf so I better take me out but for very few packages. Finally!
25 lines
814 B
Nix
25 lines
814 B
Nix
{stdenv, fetchurl, bison, flex
|
|
, readline, libX11, libICE, libXaw, libXmu, libXext, libXt, fftw }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ngspice-28";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ngspice/ngspice-28.tar.gz";
|
|
sha256 = "0rnz2rdgyav16w7wfn3sfrk2lwvvgz1fh0l9107zkcldijklz04l";
|
|
};
|
|
|
|
nativeBuildInputs = [ flex bison ];
|
|
buildInputs = [ readline libX11 libICE libXaw libXmu libXext libXt fftw ];
|
|
|
|
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; [ bgamari rongcuid ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|