From 33209c4ff5ebb7aa5225f8f416474f388194e5ed Mon Sep 17 00:00:00 2001 From: Thomas Kramer Date: Sun, 25 Jan 2026 14:41:25 +0000 Subject: [PATCH] gnu: Add python-gdstk. * gnu/packages/electronics.scm (python-gdstk): New variable Merges guix/guix!5798 Change-Id: I00e6ae26aaf741acd24caceba6d3181ab83ed692 Signed-off-by: Cayetano Santos --- gnu/packages/electronics.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index a4f94ee29d..79f7e94c1f 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -2174,6 +2174,22 @@ programming language, as well as evaluation board definitions and a System on Chip toolkit.") (license license:bsd-3))) +(define-public python-gdstk + (package + (inherit gdstk) + (name "python-gdstk") + (build-system pyproject-build-system) + (arguments (list #:test-flags #~(list "."))) + (native-inputs (list cmake-minimal python-pytest python-minimal-wrapper + python-scikit-build-core)) + (inputs (modify-inputs (package-inputs gdstk) + (prepend python-numpy))) + (synopsis "Python module for creation and manipulation of GDSII files") + (description + "@code{python-gdstk} is a Python library for creation +and manipulation of GDSII layout files which are commonly used +for @acronym{EDA, elecronic design automation} and chip design."))) + (define-public python-klayout (package (name "python-klayout")