This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 495a8de637 gnu: ngspice: Improve style.
495a8de637 is described below
commit 495a8de637079adde42fd844fe45f339af6a86b5
Author: Cayetano Santos <[email protected]>
AuthorDate: Sat Jul 26 00:00:51 2025 +0200
gnu: ngspice: Improve style.
* gnu/packages/engineering.scm (libngspice)[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake and libtool.
[home-page]: Correct.
* gnu/packages/engineering.scm (ngspice)[native-inputs]: Inherit from
libngspice.
Change-Id: I30d767e10a8e4612d3ba705ac470d7f7fc41a1c7
Signed-off-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/engineering.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 34f98f422a..624c092a82 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2416,15 +2416,13 @@ high-performance parallel differential evolution (DE)
optimization algorithm.")
(version "44.2")
(source
(origin
- (method url-fetch)
- (uri (list (string-append
- "mirror://sourceforge/ngspice/ng-spice-rework/" version
- "/ngspice-" version ".tar.gz")
- (string-append
- "mirror://sourceforge/ngspice/ng-spice-rework/"
- "old-releases/" version "/ngspice-" version ".tar.gz")))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/ngspice/ngspice")
+ (commit (string-append "ngspice-" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1zfpj09vqjamgkhnipwpwmvrzhfymikml7lw80igsx2lpnvxznp7"))))
+ (base32 "1vp27149kx8l7397bv5p708jqph1kma8rb9bl7ckgmbr9sw9cn3q"))))
(build-system gnu-build-system)
(arguments
(list
@@ -2437,9 +2435,9 @@ high-performance parallel differential evolution (DE)
optimization algorithm.")
"/share/ngspice/scripts")))))
#:configure-flags #~(list "--enable-openmp" "--enable-cider"
"--enable-xspice" "--with-ngshared")))
- (native-inputs (list bison flex))
+ (native-inputs (list autoconf automake bison flex libtool))
(inputs (list openmpi))
- (home-page "https://ngspice.sourceforge.net/")
+ (home-page "https://ngspice.sourceforge.io/")
(synopsis "Mixed-level/mixed-signal circuit simulator")
(description
"Ngspice is a mixed-level/mixed-signal circuit simulator. It includes
@@ -2465,7 +2463,9 @@ an embedded event driven algorithm.")
((#:phases phases)
#~(modify-phases #$phases
(delete 'delete-scripts)))))
- (native-inputs (list perl))
+ (native-inputs
+ (modify-inputs (package-native-inputs libngspice)
+ (append perl)))
(inputs (list libngspice readline libxaw libx11))))
(define trilinos-serial-xyce