guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 797bb4862dce401cb4a9ca7a7efda176c91064bd
Author: Cayetano Santos <[email protected]>
AuthorDate: Fri Jul 25 23:16:58 2025 +0200

    gnu: xschem: Move to electronics.
    
    * gnu/packages/engineering.scm (xschem): Move from here ...
    * gnu/packages/electronics.scm: ... to here.
    
    Change-Id: I7af66f9721d371241ec36604e960151177a663c1
    Signed-off-by: Maxim Cournoyer <[email protected]>
---
 gnu/packages/electronics.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/engineering.scm | 42 ------------------------------------------
 2 files changed, 44 insertions(+), 42 deletions(-)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index b1a02f8f9e..b3a1bffda9 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2024 Juliana Sims <[email protected]>
 ;;; Copyright © 2025 Cayetano Santos <[email protected]>
 ;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2022 Konstantinos Agiannis <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -49,6 +50,7 @@
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fpga)
+  #:use-module (gnu packages gawk)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages graphviz)
@@ -74,6 +76,7 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages toolkits)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages xorg)
   #:use-module (gnu packages xml))
 
 (define-public comedilib
@@ -793,6 +796,47 @@ design.")
 to enforce it.")
     (license license:gpl3+)))
 
+(define-public xschem
+  (package
+    (name "xschem")
+    (version "3.4.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/StefanSchippers/xschem";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0g9qrzm2mjd7nfg8iyc5az2bs8n5gjv1mrjjdja5vn1yjia7pvy9"))))
+    (native-inputs (list flex bison pkg-config))
+    (inputs (list gawk
+                  tcl
+                  tk
+                  libxpm
+                  cairo
+                  libxrender
+                  libxcb)) ; Last 3 are optional, but good to have.
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (add-before 'build 'setenv
+            (lambda* (#:key outputs #:allow-other-keys)
+              (setenv "CC" #$(cc-for-target))
+              (invoke "./configure" (string-append "--prefix=" #$output)))))))
+    (synopsis "Hierarchical schematic editor")
+    (description
+     "Xschem is an X11 schematic editor written in C and focused on
+hierarchical and parametric design.  It can generate VHDL, Verilog or Spice
+netlists from the drawn schematic, allowing the simulation of the circuit.")
+    (home-page "https://xschem.sourceforge.io/stefan/index.html";)
+    (license license:gpl2+)))
+
 (define-public sigrok-cli
   (package
     (name "sigrok-cli")
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 20c7f777e6..780fcea505 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -31,7 +31,6 @@
 ;;; Copyright © 2022 Olivier Dion <[email protected]>
 ;;; Copyright © 2022 Peter Polidoro <[email protected]>
 ;;; Copyright © 2022 Malte Frank Gerdes <[email protected]>
-;;; Copyright © 2022 Konstantinos Agiannis <[email protected]>
 ;;; Copyright © 2022 Greg Hogan <[email protected]>
 ;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <[email protected]>
 ;;; Copyright © 2022, 2025 Maxim Cournoyer <[email protected]>
@@ -5165,47 +5164,6 @@ python bindings.  It belongs to the Cura project from 
Ultimaker.")
 generates G-Code for 3D printers.")
     (license license:lgpl3+)))
 
-(define-public xschem
-  (package
-    (name "xschem")
-    (version "3.4.7")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://github.com/StefanSchippers/xschem";)
-              (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "0g9qrzm2mjd7nfg8iyc5az2bs8n5gjv1mrjjdja5vn1yjia7pvy9"))))
-    (native-inputs (list flex bison pkg-config))
-    (inputs (list gawk
-                  tcl
-                  tk
-                  libxpm
-                  cairo
-                  libxrender
-                  libxcb)) ; Last 3 are optional, but good to have.
-    (build-system gnu-build-system)
-    (arguments
-     (list
-      #:tests? #f
-      #:phases
-      #~(modify-phases %standard-phases
-          (delete 'configure)
-          (add-before 'build 'setenv
-            (lambda* (#:key outputs #:allow-other-keys)
-              (setenv "CC" #$(cc-for-target))
-              (invoke "./configure" (string-append "--prefix=" #$output)))))))
-    (synopsis "Hierarchical schematic editor")
-    (description
-     "Xschem is an X11 schematic editor written in C and focused on
-hierarchical and parametric design.  It can generate VHDL, Verilog or Spice
-netlists from the drawn schematic, allowing the simulation of the circuit.")
-    (home-page "https://xschem.sourceforge.io/stefan/index.html";)
-    (license license:gpl2+)))
-
 (define-public bcnc
   (package
     (name "bcnc")

Reply via email to