summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheodoros Foradis <theodoros@foradis.org>2017-10-27 17:23:52 +0300
committerLudovic Courtès <ludo@gnu.org>2017-10-27 13:03:39 -0700
commit50942a690eb1845471348bd397b19da7d9d26879 (patch)
treee49e96188810b04c9639f2695546814908f16e8d
parentc48799c0a5f6911465e01c9bda309b14cc81673d (diff)
downloadguix-50942a690eb1845471348bd397b19da7d9d26879.tar.gz
gnu: kicad: Build with ngspice support.
* gnu/packages/engineering.scm (kicad):
[arguments] <configure-flags>: Add KICAD_SPICE flag.
[inputs]: Add libngspice.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/engineering.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 2e9701e9bb..911f519e2f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -664,6 +664,7 @@ language.")
                               (assoc-ref %build-inputs "wxpython")
                               "/include/wx-3.0")
                "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
+               "-DKICAD_SPICE=TRUE"
                ;; TODO: Enable this when CA certs are working with curl.
                "-DBUILD_GITHUB_PLUGIN=OFF")
          #:phases
@@ -704,6 +705,7 @@ language.")
          ("glew" ,glew)
          ("glm" ,glm)
          ("hicolor-icon-theme" ,hicolor-icon-theme)
+         ("libngspice" ,libngspice)
          ("libsm" ,libsm)
          ("mesa" ,mesa)
          ("openssl" ,openssl)