fc14aebab8
* libngspice: 28 -> 29 (#50685) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libngspice/versions * libngspice: refresh meta.license See: https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/COPYING
26 lines
864 B
Nix
26 lines
864 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-29";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ngspice/ngspice-29.tar.gz";
|
|
sha256 = "0jjwz73naq7l9yhwdqbpnrfckywp2ffkppivxjv8w92zq7xhyvcd";
|
|
};
|
|
|
|
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; [ bsd3 gpl2Plus lgpl2Plus ]; # See https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/COPYING
|
|
maintainers = with maintainers; [ bgamari ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|