3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/ngspice/default.nix

23 lines
712 B
Nix
Raw Normal View History

{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
stdenv.mkDerivation {
2017-02-01 22:13:35 +00:00
name = "ngspice-26";
src = fetchurl {
2017-02-01 22:13:35 +00:00
url = "mirror://sourceforge/ngspice/ngspice-26.tar.gz";
sha256 = "51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108";
};
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)";
2012-10-28 16:27:13 +00:00
homepage = "http://ngspice.sourceforge.net";
license = with licenses; [ "BSD" gpl2 ];
2017-02-01 22:13:35 +00:00
maintainers = with maintainers; [ viric rongcuid ];
platforms = platforms.linux;
};
}