nixpkgs-suyu/pkgs/applications/science/electronics/ngspice/default.nix

23 lines
694 B
Nix
Raw Normal View History

{stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
stdenv.mkDerivation {
2013-12-23 04:27:10 +01:00
name = "ng-spice-rework-25";
src = fetchurl {
2013-12-23 04:27:10 +01:00
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 = {
description = "The Next Generation Spice (Electronic Circuit Simulator)";
2012-10-28 17:27:13 +01:00
homepage = "http://ngspice.sourceforge.net";
license = ["BSD" "GPLv2"];
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}