aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodoros Foradis <theodoros.for@openmailbox.org>2017-06-24 08:52:57 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-06-24 09:18:56 +0200
commit8bca358b21284ea45333f49451ee9b1527e35f6e (patch)
treebb4437bb68903597b16ff3ebd56eae74dd3b4422
parent28b08d2ac88ba2ae66be699cda8094670566dbd2 (diff)
downloadguix-8bca358b21284ea45333f49451ee9b1527e35f6e.tar
guix-8bca358b21284ea45333f49451ee9b1527e35f6e.tar.gz
gnu: Add adms.
* gnu/packages/engineering.scm (adms): New variable.
-rw-r--r--gnu/packages/engineering.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 018415c52e..650ac2b89c 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -974,7 +974,7 @@ fully-vectorial and three-dimensional methods.")
(inputs
`(("fftw" ,fftw)
("gsl" ,gsl)
- ("guile" ,guile-2.0) ; doesn't build with guile-2.2
+ ("guile" ,guile-2.0) ; doesn't build with guile-2.2
("harminv" ,harminv)
("hdf5" ,hdf5)
("lapack" ,lapack)
@@ -987,3 +987,29 @@ fully-vectorial and three-dimensional methods.")
"Meep is a finite-difference time-domain (FDTD) simulation software package
developed at MIT to model electromagnetic systems.")
(license license:gpl2+)))
+
+(define-public adms
+ (package
+ (name "adms")
+ (version "2.3.6")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "mirror://sourceforge/mot-adms/adms-source/"
+ (version-major+minor version) "/adms-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rn98l6jxcjhi6ai5f7p588khra9z80m0m0lql4n4sb7773fh1vk"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("flex" ,flex)
+ ("bison" ,bison)))
+ (home-page "https://sourceforge.net/projects/mot-adms")
+ (synopsis "Automatic device model synthesizer")
+ (description
+ "ADMS is a code generator that converts electrical compact device models
+specified in high-level description language into ready-to-compile C code for
+the API of spice simulators. Based on transformations specified in XML
+language, ADMS transforms Verilog-AMS code into other target languages.")
+ (license license:gpl3)))