diff options
| author | Thomas Kramer <thomas@f-si.org> | 2025-12-04 20:25:46 +0000 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-01-08 08:56:09 +0900 |
| commit | 378f985a3321865eaa8b46ea5a6e562e1b0d4efb (patch) | |
| tree | da2a63038fa97f7b6e55f245aa8b7f8318863e36 /gnu/packages/electronics.scm | |
| parent | 1502f231ffe07634c119ba3f11e6add0c7d48db6 (diff) | |
gnu: Add python-klayout.
* gnu/packages/electronics.scm (python-klayout): Add variable.
Change-Id: I637c3f9880121666fe06e427261b694018158fe5
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/electronics.scm')
| -rw-r--r-- | gnu/packages/electronics.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index bed76fb4c89..57936c6c11a 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2026 Thomas Kramer <thomas@f-si.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,6 +71,7 @@ #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages engineering) @@ -89,6 +91,7 @@ #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libedit) #:use-module (gnu packages libffi) #:use-module (gnu packages libftdi) @@ -2077,6 +2080,32 @@ programming language, as well as evaluation board definitions and a System on Chip toolkit.") (license license:bsd-3))) +(define-public python-klayout + (package + (name "python-klayout") + (version "0.30.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/klayout/klayout") + (commit (string-append "v" version)))) + (sha256 + (base32 "1ixl8wzpiaw6frb28x9y9jy3fvhjclmn4xl77i72rs37rf4i2a2s")) + (file-name (git-file-name name version)))) + (build-system pyproject-build-system) + (arguments + '(#:tests? #f)) + (native-inputs (list curl expat libpng python-setuptools python-tomli)) + (home-page "https://klayout.de") + (synopsis "Mask layout library for Python") + (description + "python-klayout is a standalone Python API of KLayout. +This library supports OASIS and GDS2 file formats, +editing of mask layouts, and verification such as +@acronym{DRC, Design rule checking} and @acronym{LVS, Layout Versus Schematic}.") + (license license:gpl3+))) + (define-public python-pyucis (package (name "python-pyucis") |
