diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-07-26 00:00:51 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-07-26 10:45:19 +0900 |
commit | 495a8de637079adde42fd844fe45f339af6a86b5 (patch) | |
tree | 5209f07be122ef276d0b16bdd18d72a0d3cf5b69 /gnu/packages/engineering.scm | |
parent | 8bb714546760ff0ae8fa634a669da43a3b1d9915 (diff) |
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 <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 22 |
1 files 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 |