mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Add python-gdstk.
* gnu/packages/electronics.scm (python-gdstk): New variable Change-Id: Ie6bf8e37106020bc723160347a9d111eb8bbc450
This commit is contained in:
parent
8da29f8d95
commit
98a09d29da
1 changed files with 23 additions and 0 deletions
|
|
@ -2233,6 +2233,29 @@ Chip toolkit.")
|
||||||
which are commonly used for @acronym{EDA, elecronic design automation} and chip design.")
|
which are commonly used for @acronym{EDA, elecronic design automation} and chip design.")
|
||||||
(license license:boost1.0)))
|
(license license:boost1.0)))
|
||||||
|
|
||||||
|
(define-public python-gdstk
|
||||||
|
(package
|
||||||
|
(inherit gdstk)
|
||||||
|
(name "python-gdstk")
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? outputs #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(setenv "PYTHONPATH"
|
||||||
|
(getenv "GUIX_PYTHONPATH"))
|
||||||
|
(invoke "pytest" ".")))))))
|
||||||
|
(native-inputs (list cmake-minimal python-scikit-build-core python-pytest))
|
||||||
|
(inputs (list zlib python-numpy qhull))
|
||||||
|
(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
|
(define-public python-klayout
|
||||||
(package
|
(package
|
||||||
(name "python-klayout")
|
(name "python-klayout")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue