summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kramer <thomas@f-si.org>2025-12-17 18:33:08 +0100
committerCayetano Santos <csantosb@inventati.org>2026-03-14 12:42:56 +0100
commite15407fc8e505eac4eb3daaed0ddcedbada51b81 (patch)
tree2324a4f093a1837d49fcc90a27604bdc0b9cc1e6
parenta395def329d9aef03cc0c18cbfbbdca269eee777 (diff)
gnu: Add charlib.
* gnu/packages/electronics.scm (charlib): New variable. Merges guix/guix!5472 Change-Id: I97833d98181546422bd4578845f8d27a14110de3 Modified-by: Cayetano Santos <csantosb@inventati.org> Signed-off-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/electronics.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 23c987e558e..02220acf585 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -348,6 +348,44 @@ supporting gerber, excellon and g-code. It is part of the RiNgDove EDA
suite.")
(license license:gpl2+)))
+(define-public charlib
+ (package
+ (name "charlib")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stineje/CharLib")
+ (commit version)))
+ (sha256
+ (base32 "0phklm6wcpvwdfx00k0q8qvpvdqf6wjvzirkfji7vc7ils7wz2sl"))
+ (file-name (git-file-name name version))))
+ (build-system pyproject-build-system)
+ (inputs
+ (list ngspice
+ pyspice
+ python-liberty-parser
+ python-matplotlib
+ python-numpy
+ python-ply
+ python-pyyaml
+ python-requests
+ python-schema
+ python-scipy
+ python-tqdm))
+ (native-inputs
+ (list python-poetry-core
+ python-pytest
+ python-setuptools))
+ (home-page "https://stineje.github.io/CharLib")
+ (synopsis "CMOS standard-cell characterization")
+ (description
+ "@code{Charlib} is an @acronym{EDA, Electronic Design Automation} tool used to
+extract timing and power characteristics from CMOS combinational and sequential
+standard-cells. It is compatible with @code{ngspice} and @code{Xyce}.")
+ (license license:gpl2)))
+
(define-public ciel
(package
(name "ciel")