nixpkgs/pkgs/applications/science/electronics/ngspice/default.nix
Bjørn Forsman 6542c344bc ngspice: rename pkgname (s/ng-spice-rework/ngspice/)
I think the previous name comes from the fact that some older versions
were distributed in tarballs named ng-spice-rework-<version>. But now
the "rework" name seems odd; most references I found on the internet
calls the package "ngspice". Fix it.
2015-08-08 20:02:30 +02:00

23 lines
697 B
Nix

{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
stdenv.mkDerivation {
name = "ngspice-25";
src = fetchurl {
url = "mirror://sourceforge/ngspice/ngspice-25.tar.gz";
sha256 = "03hlxwvl2j1wlb5yg4swvmph9gja37c2gqvwvzv6z16vg2wvn06h";
};
buildInputs = [ readline libX11 bison libICE libXaw libXext ];
configureFlags = [ "--enable-x" "--with-x" "--with-readline" ];
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 ];
platforms = with platforms; linux;
};
}