diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-08-21 20:43:53 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-08-21 20:43:53 +0000 |
commit | 2d354aa6f12eeba7c6306255e3752fbcff379420 (patch) | |
tree | 1f77da7d57bceb76ff77b2f42d92b86cde148ea1 | |
parent | a98da2c748408c097e5fc2193ac98b09fcf772a8 (diff) | |
download | nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar.gz nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar.bz2 nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar.lz nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar.xz nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.tar.zst nixpkgs-2d354aa6f12eeba7c6306255e3752fbcff379420.zip |
added ngspice
svn path=/nixpkgs/trunk/; revision=12686
-rw-r--r-- | pkgs/applications/science/electronics/ngspice/default.nix | 17 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/science/electronics/ngspice/default.nix b/pkgs/applications/science/electronics/ngspice/default.nix new file mode 100644 index 00000000000..c172075f11f --- /dev/null +++ b/pkgs/applications/science/electronics/ngspice/default.nix @@ -0,0 +1,17 @@ +args: +args.stdenv.mkDerivation { + name = "ng-spice-rework-15c"; + + src = args.fetchurl { + url = mirror://sourceforge/ngspice/ng-spice-rework-15c.tar.gz; + sha256 = "0v0pbdc54ra0s98dz6mhj80n333ggbn4xpf53vi66sd02hcjblmg"; + }; + + buildInputs =(with args; [readline]); + + meta = { + description = "The Next Generation Spice (Electronic Circuit Simulator)."; + homepage = http://ngspice.sourceforge.net; + license = ["BSD" "GPLv2"]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cc57b891600..c5061d1c907 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7195,6 +7195,12 @@ let pkgs = rec { inherit fetchurl stdenv ocaml ncurses; }; + ### SCIENCE / ELECTRONICS + + ngspice = import ../applications/science/electronics/ngspice { + inherit fetchurl stdenv readline; + }; + ### MISC atari800 = import ../misc/emulators/atari800 { |