diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 7fc49aa8bd8..fc6134ed985 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -2203,6 +2203,36 @@ programming language, as well as evaluation board definitions and a System on Chip toolkit.") (license license:bsd-3))) +(define-public gdstk + (package + (name "gdstk") + (version "0.9.62") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/heitzmann/gdstk") + (commit (string-append "v" version)))) + (sha256 + (base32 "0q07g7h613yqszgs49vbnran3pz6yayc0hyisdnp4fi60cyzsz1l")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'build-examples + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "examples"))))))) + (inputs (list zlib qhull)) + (home-page "https://heitzmann.github.io/gdstk/") + (synopsis "Library for creation and manipulation of GDSII files") + (description + "@code{gdstk} is a library for creation and manipulation of GDSII layout files +which are commonly used for @acronym{EDA, elecronic design automation} and chip design.") + (license license:boost1.0))) + (define-public python-klayout (package (name "python-klayout")