summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-07-27 12:56:29 +0200
committerAndreas Enge <andreas@enge.fr>2025-08-01 17:43:19 +0200
commit981000bd3bd15c138f71cb8eb82f09b531e4c5cd (patch)
treec2a2841cbea75d836d1592868711c52502fcbd79 /gnu/packages
parentaac00dd014da9c3342cf95f59fab28aedab94546 (diff)
gnu: pcb-rnd: Move to electronics.
* gnu/packages/engineering.scm (pcb-rnd): Move from here ... * gnu/packages/electronics.scm: ... to here. Change-Id: I7b8d84e1dcffd26e6c4833eb51310167c5c5fa4a Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/electronics.scm35
-rw-r--r--gnu/packages/engineering.scm31
2 files changed, 35 insertions, 31 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index b3a1bffda9..4c90a4877d 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -9,6 +9,8 @@
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com>
+;;; Copyright © 2018-2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +30,7 @@
(define-module (gnu packages electronics)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix download)
@@ -46,6 +49,7 @@
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages engineering)
#:use-module (gnu packages embedded)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
@@ -427,6 +431,37 @@ such as:
@end itemize")
(license license:expat)))
+(define-public pcb-rnd
+ (package
+ (name "pcb-rnd")
+ (version "3.1.7b")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://repo.hu/projects/pcb-rnd/"
+ "releases/pcb-rnd-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1djsa0w53l6nvhwv28rlhpva55ir9n3xdvjgnjj8fgvcmrqlzrsl"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ (list
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ ;; The configure script doesn't tolerate most of our configure
+ ;; flags.
+ (lambda _
+ (setenv "CC" #$(cc-for-target))
+ (setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
+ (invoke "./configure" (string-append "--prefix=" #$output)))))))
+ (inputs (list librnd))
+ (home-page "http://repo.hu/projects/pcb-rnd/")
+ (synopsis "Modular layout editor")
+ (description "@code{Pcb-rnd} is a @acronym{Printed Circuit Board} layout
+editor, part of the RiNgDove EDA suite.")
+ (license license:gpl2+)))
+
(define-public prjtrellis
;; The last release is 2 years old; use the latest commit for now.
(let ((commit "898329dddf6ce6463299973081f109d645b9c55f")
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index c7f70fec45..e8735a89b0 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -654,37 +654,6 @@ and design rule checking. It also includes an autorouter and a trace
optimizer; and it can produce photorealistic and design review images.")
(license license:gpl2+)))
-(define-public pcb-rnd
- (package
- (name "pcb-rnd")
- (version "3.1.7b")
- (source (origin
- (method url-fetch)
- (uri (string-append "http://repo.hu/projects/pcb-rnd/"
- "releases/pcb-rnd-" version ".tar.gz"))
- (sha256
- (base32
- "1djsa0w53l6nvhwv28rlhpva55ir9n3xdvjgnjj8fgvcmrqlzrsl"))))
- (build-system glib-or-gtk-build-system)
- (arguments
- (list
- #:test-target "test"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'configure
- ;; The configure script doesn't tolerate most of our configure
- ;; flags.
- (lambda _
- (setenv "CC" #$(cc-for-target))
- (setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
- (invoke "./configure" (string-append "--prefix=" #$output)))))))
- (inputs (list librnd))
- (home-page "http://repo.hu/projects/pcb-rnd/")
- (synopsis "Modular layout editor")
- (description "@code{Pcb-rnd} is a @acronym{Printed Circuit Board} layout
-editor, part of the RiNgDove EDA suite.")
- (license license:gpl2+)))
-
(define-public fastcap
(package
(name "fastcap")