summaryrefslogtreecommitdiff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-07-25 23:10:52 +0200
committerMaxim Cournoyer <maxim@guixotic.coop>2025-07-26 21:01:21 +0900
commit67c10061f23bae5ced280d93322c1e4e57b4111b (patch)
tree896876fc94912d15c7157228b3e5719d7ac16cc8 /gnu/packages/engineering.scm
parentdb0f72d07221f913c5c472b815defae7a722ef47 (diff)
gnu: xschem: Update to 3.4.7.
* gnu/packages/engineering.scm (xschem): Update to 3.4.7. [arguments]: Use Gexp. Change-Id: I39b8c51e1c319c68d9863573f232c14e9fc8c932 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm76
1 files changed, 37 insertions, 39 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 624c092a82..20c7f777e6 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -5166,47 +5166,45 @@ generates G-Code for 3D printers.")
(license license:lgpl3+)))
(define-public xschem
- (let ((commit "f574539e21b297fa3bcebd52114555e162a5fc56")
- (revision "1"))
- (package
- (name "xschem")
- (version (git-version "3.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/StefanSchippers/xschem")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "129kj8m3wcf62plp74kml6pqwld4lnfmxy070a82lvj0rfiy77hb"))))
- (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
- `(#: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="
- (assoc-ref outputs "out"))))))))
- (synopsis "Hierarchical schematic editor")
- (description
- "Xschem is an X11 schematic editor written in C and focused on
+ (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+))))
+ (home-page "https://xschem.sourceforge.io/stefan/index.html")
+ (license license:gpl2+)))
(define-public bcnc
(package