nixpkgs-suyu/pkgs/development/libraries/libngspice/default.nix
R. RyanTM 00c7f76c84 libngspice: 26 -> 28 (#46225)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
libngspice
2018-09-17 10:14:53 +02:00

25 lines
780 B
Nix

{stdenv, fetchurl, bison, flex, fftw}:
# Note that this does not provide the ngspice command-line utility. For that see
# the ngspice derivation.
stdenv.mkDerivation {
name = "libngspice-28";
src = fetchurl {
url = "mirror://sourceforge/ngspice/ngspice-28.tar.gz";
sha256 = "0rnz2rdgyav16w7wfn3sfrk2lwvvgz1fh0l9107zkcldijklz04l";
};
nativeBuildInputs = [ flex bison ];
buildInputs = [ fftw ];
configureFlags = [ "--with-ngshared" "--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 ];
platforms = platforms.linux;
};
}