diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-07-27 13:03:06 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-08-01 17:43:19 +0200 |
commit | 82ab2e82f319e9112b15de162301a85671c1b590 (patch) | |
tree | 51d5778627014b9c1d57a496e2b2f06c344e1175 /gnu | |
parent | 981000bd3bd15c138f71cb8eb82f09b531e4c5cd (diff) |
gnu: librnd: Move to electronics.
* gnu/packages/engineering.scm (librnd): Move from here ...
* gnu/packages/electronics.scm: ... to here.
Change-Id: Ia0a587c35729883ece0fb8ed4dab18e7eb63222a
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/electronics.scm | 40 | ||||
-rw-r--r-- | gnu/packages/engineering.scm | 39 |
2 files changed, 40 insertions, 39 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 4c90a4877d..a13ad2196a 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -55,8 +55,10 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages fpga) #:use-module (gnu packages gawk) + #:use-module (gnu packages gd) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages libftdi) @@ -104,6 +106,44 @@ individual low-level driver modules.") (home-page "https://www.comedi.org/") (license license:lgpl2.1))) +(define-public librnd + (package + (name "librnd") + (version "4.3.2") + (source (origin + (method url-fetch) + (uri (string-append "http://www.repo.hu/projects/librnd/" + "releases/librnd-" version ".tar.bz2")) + (sha256 + (base32 + "1qjv6gg9fb3rpvr1y9l5nbzz2xk2sa4nqz0dgwvds5hc1bmd97mf")))) + (build-system glib-or-gtk-build-system) + (arguments + (list + #:tests? #false ;no check target + #:phases + #~(modify-phases %standard-phases + ;; The configure script doesn't tolerate most of our configure + ;; flags. + (replace 'configure + (lambda _ + (setenv "CC" #$(cc-for-target)) + (invoke "./configure" (string-append "--prefix=" #$output))))))) + (inputs + (list gd glib glu gtk gtkglext libepoxy)) + (native-inputs + (list pkg-config)) + (home-page "http://repo.hu/projects/librnd/") + (synopsis "Two-dimensional CAD engine") + (description "This is a flexible, modular two-dimensional CAD engine +@itemize +@item with transparent multiple GUI toolkit support; +@item a flexible, dynamic menu system; +@item a flexible, dynamic configuration system; and +@item support for user scripting in a dozen languages. +@end itemize") + (license license:gpl2+))) + (define-public libserialport (package (name "libserialport") diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index e8735a89b0..c0ce736f3f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -67,7 +67,6 @@ #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system guile) - #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) @@ -567,44 +566,6 @@ materials (BOM) generation, netlisting into over 20 netlist formats, analog and digital simulation, and printed circuit board (PCB) layout, and many other features."))) -(define-public librnd - (package - (name "librnd") - (version "4.3.2") - (source (origin - (method url-fetch) - (uri (string-append "http://www.repo.hu/projects/librnd/" - "releases/librnd-" version ".tar.bz2")) - (sha256 - (base32 - "1qjv6gg9fb3rpvr1y9l5nbzz2xk2sa4nqz0dgwvds5hc1bmd97mf")))) - (build-system glib-or-gtk-build-system) - (arguments - (list - #:tests? #false ;no check target - #:phases - #~(modify-phases %standard-phases - ;; The configure script doesn't tolerate most of our configure - ;; flags. - (replace 'configure - (lambda _ - (setenv "CC" #$(cc-for-target)) - (invoke "./configure" (string-append "--prefix=" #$output))))))) - (inputs - (list gd glib glu gtk gtkglext libepoxy)) - (native-inputs - (list pkg-config)) - (home-page "http://repo.hu/projects/librnd/") - (synopsis "Two-dimensional CAD engine") - (description "This is a flexible, modular two-dimensional CAD engine -@itemize -@item with transparent multiple GUI toolkit support; -@item a flexible, dynamic menu system; -@item a flexible, dynamic configuration system; and -@item support for user scripting in a dozen languages. -@end itemize") - (license license:gpl2+))) - (define-public pcb (package (name "pcb") |