gnu: horizon-eda: Migrate to electronics.

* gnu/packages/engineering.scm (horizon-eda): Move from here ...
* gnu/packages/electronics.scm: ... to here.
Use modules (gnu packages backup), (gnu packages networking), (gnu packages pdf).

Change-Id: Ib980384fd93d2124c79bd712d8eef25bdfecb30b
This commit is contained in:
Anderson Torres 2026-01-21 22:21:53 -03:00
parent a9b4abdd0e
commit 1035463227
No known key found for this signature in database
GPG key ID: 204011DAF8277617
2 changed files with 56 additions and 53 deletions

View file

@ -15,7 +15,7 @@
;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2020, 2021, 2022, 2023, 2024, 2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Andrew Miloradovsky <andrew@interpretmath.pw>
;;; Copyright © 2022 Christian Gelinek <cgelinek@radlogic.com.au>
;;; Copyright © 2022 jgart <jgart@dismail.de>
@ -65,6 +65,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
@ -108,6 +109,8 @@
#:use-module (gnu packages m4)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages networking)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@ -405,6 +408,57 @@ changes into a design, or ensuring that a design refactor preserves
correctness in all conditions.")
(license license:isc)))
(define-public horizon-eda
(package
(name "horizon-eda")
(version "2.7.0")
;; TODO: try to unbundle some of the 3rd parties.
;; We have packages for nlohmann-json, range-v3, catch2 and clipper.
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/horizon-eda/horizon")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sq1d2x9wq168cz91l2rd93gnlq5scknb45bi1njqqcw3jjjhsk3"))))
(build-system meson-build-system)
(arguments
(list
#:tests? #f ; no tests
#:glib-or-gtk? #t))
(native-inputs (list cmake-minimal ;; OpenCASCADE is only found by cmake
`(,glib "bin")
gobject-introspection
pkg-config))
(inputs (list boost
cairomm
cppzmq
curl
glib
glibmm
glm
gsettings-desktop-schemas
gtk+
gtkmm-3
libarchive
libgit2-glib
librsvg
libspnav
libzip
opencascade-occt
podofo
sqlite
`(,util-linux "lib")
zeromq))
(home-page "https://horizon-eda.org/")
(synopsis "Electronic Design Automation package")
(description "Horizon EDA is an Electronic Design Automation package
supporting an integrated end-to-end workflow for printed circuit board design
including parts management and schematic entry.")
(license license:gpl3+)))
(define-public ieee-p1076
(package
(name "ieee-p1076")

View file

@ -20,7 +20,7 @@
;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021, 2025 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020, 2021, 2022, 2023, 2024, 2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2021, 2023 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com>
@ -1132,57 +1132,6 @@ in the context of per-cpu data. The library offers ABI headers to interface
with the kernel and various utilities such as per-cpu counters.")
(license (list license:lgpl2.1 license:expat)))))
(define-public horizon-eda
(package
(name "horizon-eda")
(version "2.7.0")
;; TODO: try to unbundle some of the 3rd parties.
;; We have packages for nlohmann-json, range-v3, catch2 and clipper.
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/horizon-eda/horizon")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sq1d2x9wq168cz91l2rd93gnlq5scknb45bi1njqqcw3jjjhsk3"))))
(build-system meson-build-system)
(arguments
(list
#:tests? #f ; no tests
#:glib-or-gtk? #t))
(native-inputs (list cmake-minimal ;; OpenCASCADE is only found by cmake
`(,glib "bin")
gobject-introspection
pkg-config))
(inputs (list boost
cairomm
cppzmq
curl
glib
glibmm
glm
gsettings-desktop-schemas
gtk+
gtkmm-3
libarchive
libgit2-glib
librsvg
libspnav
libzip
opencascade-occt
podofo
sqlite
`(,util-linux "lib")
zeromq))
(home-page "https://horizon-eda.org/")
(synopsis "Electronic Design Automation package")
(description "Horizon EDA is an Electronic Design Automation package
supporting an integrated end-to-end workflow for printed circuit board design
including parts management and schematic entry.")
(license license:gpl3+)))
(define-public linsmith
(package
(name "linsmith")