Updating ngspice

svn path=/nixpkgs/trunk/; revision=22364
This commit is contained in:
Lluís Batlle i Rossell 2010-06-21 20:34:23 +00:00
parent 74d75bdd6c
commit 99a94a777b
2 changed files with 17 additions and 11 deletions

View File

@ -1,17 +1,22 @@
args: {stdenv, fetchurl, readline, bison, libX11, libICE, libXaw, libXext}:
args.stdenv.mkDerivation {
name = "ng-spice-rework-15c";
src = args.fetchurl { stdenv.mkDerivation {
url = mirror://sourceforge/ngspice/ng-spice-rework-15c.tar.gz; name = "ng-spice-rework-21";
sha256 = "0v0pbdc54ra0s98dz6mhj80n333ggbn4xpf53vi66sd02hcjblmg";
src = fetchurl {
url = mirror://sourceforge/ngspice/ng-spice-rework-21.tar.gz;
sha256 = "1hmvfl33dszy8xgbixx0zmiz4rdzjhl7lwlwm953jibd4dgx42j5";
}; };
buildInputs =(with args; [readline]); buildInputs = [ readline libX11 bison libICE libXaw libXext ];
configureFlags = [ "--enable-x" "--with-x" "--with-readline" ];
meta = { meta = {
description = "The Next Generation Spice (Electronic Circuit Simulator)."; description = "The Next Generation Spice (Electronic Circuit Simulator).";
homepage = http://ngspice.sourceforge.net; homepage = http://ngspice.sourceforge.net;
license = ["BSD" "GPLv2"]; license = ["BSD" "GPLv2"];
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
}; };
} }

View File

@ -9543,7 +9543,8 @@ let
### SCIENCE / ELECTRONICS ### SCIENCE / ELECTRONICS
ngspice = import ../applications/science/electronics/ngspice { ngspice = import ../applications/science/electronics/ngspice {
inherit fetchurl stdenv readline; inherit fetchurl stdenv readline bison;
inherit (xlibs) libX11 libICE libXaw libXext;
}; };
gtkwave = import ../applications/science/electronics/gtkwave { gtkwave = import ../applications/science/electronics/gtkwave {