diff options
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 132 |
1 files changed, 8 insertions, 124 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index e77193ecf2..94a5f0406e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -107,7 +107,6 @@ #:use-module (gnu packages file) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) - #:use-module (gnu packages fpga) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) @@ -118,7 +117,6 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) - #:use-module (gnu packages gperf) #:use-module (gnu packages graphics) #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) @@ -164,7 +162,6 @@ #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages ruby-check) - #:use-module (gnu packages textutils) #:use-module (gnu packages sagemath) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) @@ -936,119 +933,6 @@ such as those made in pneumatics, hydraulics, process industries, electronics, and others.") (license license:gpl2+))) -(define-public qucsator-rf - (package - (name "qucsator-rf") - (version "1.0.7") ;required by qucs-s, keep in sync - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ra3xdh/qucsator_rf/") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1qyih418r0jcrpk1ja4p7v9v5iqvri8iszg7s3vaf1d2agwblzb4")))) - (build-system cmake-build-system) - (arguments - (list - #:tests? #f ;no tests - #:phases - #~(modify-phases %standard-phases - (add-after 'install 'run-tests - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Qucs-test is a collection of python scripts and data test - ;; cases. Its purpose is to test Qucs (GUI) and Qucsator; - ;; tests are under `testsuite` directory. - (copy-recursively - #$(origin - (method git-fetch) - (uri - ;; Using latest revision; refer to - ;; .github/workflows/cmake.yml to keep up to date. - (git-reference - (url "https://github.com/ra3xdh/qucs-test/") - (commit "ce69e05ceecab910175e6ea36b6e021a6d279947"))) - (sha256 - (base32 - (string-append "1r3hx43wvd0s11mzsvj1chylzv" - "0lk9qhaw7205j9x316ly03bl08")))) - "qucs-test") - (with-directory-excursion "qucs-test" - (invoke "python3" "run.py" "--qucsator" - (format #f "--prefix=~a/bin" #$output) - "--exclude=skip.txt")))))) - #:configure-flags - #~(list (format #f "-DBISON_DIR=~a/bin" - #$(this-package-native-input "bison")) - (format #f "-DADMSXML_DIR=~a/bin" - #$(this-package-native-input "adms"))))) - (native-inputs - (list adms bison dos2unix flex gperf python python-looseversion - python-numpy python-matplotlib)) - (synopsis "RF and microwave circuits simulator") - (description - "@code{Qucsator-rf} is a command line driven circuit simulator targeted -for RF and microwave circuits. It takes a network list in a certain format as -input and outputs an XML dataset.") - (home-page "https://ra3xdh.github.io//") - (license license:gpl2+))) - -(define-public qucs-s - (package - (name "qucs-s") - (version "25.1.2") ;update qucsator-rf accordingly - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ra3xdh/qucs_s") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "07wrpqgbj77rmh1yxy233lk1y4ys1x0721b3jsldp058dcgf24zv")))) - (build-system qt-build-system) - (arguments - (list - #:qtbase qtbase ;for Qt 6 - #:tests? #f ;no tests - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'adjust-default-settings - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "qucs/settings.cpp" - (("\"ngspice\"") - (format #f "~s" (search-input-file inputs "bin/ngspice"))) - (("\"octave\"") - (format #f "~s" (search-input-file inputs "bin/octave")))))) - (add-after 'install 'wrap-program - (lambda _ - (wrap-program (string-append #$output "/bin/qucs-s") - `("PATH" ":" prefix - (,(string-append #$(this-package-input "ngspice") "/bin") - ,(string-append - #$(this-package-input "qucsator-rf") "/bin"))))))))) - (native-inputs (list qttools)) - (inputs - ;; TODO Add xyce-serial to the list. - (list bash-minimal octave qtbase qtcharts qtsvg qtwayland qucsator-rf ngspice)) - (synopsis "GUI for different circuit simulation kernels") - (description - "@acronym{Qucs-S, Quite universal circuit simulator with SPICE} provides -a fancy graphical user interface for a number of popular circuit simulation -engines. The package contains libraries for schematic capture, visualization -and components. The following simulation kernels are supported: -@itemize -@item Ngspice (recommended) -@item Xyce -@item SpiceOpus -@item Qucsator (non-SPICE) -@end itemize\n") - (home-page "https://ra3xdh.github.io/") - (license license:gpl2+))) - (define-public gerbv (package (name "gerbv") @@ -1308,7 +1192,7 @@ Emacs).") (define-public kicad (package (name "kicad") - (version "9.0.3") + (version "9.0.4") (source (origin (method git-fetch) (uri (git-reference @@ -1316,7 +1200,7 @@ Emacs).") (commit version))) (sha256 (base32 - "19rij2hz79rsmikdbygxzll2l7im5qi3i6phz4sdiagkc5k8b3rb")) + "0736hhf8rs4g8cyhy3xyamyr4iszlvf18a1hwfpcv6qxy0hcbdcv")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments @@ -1425,7 +1309,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.") (file-name (git-file-name name version)) (sha256 (base32 - "186nmy222m2k8snwk5i2f9igamflj9avfnhv5ksrbhx5wyrx7fy2")))) + "00cnras41sp5kpvaqqymygis08q5kmsix18bi8hlhhw6yk525vnp")))) (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DBUILD_FORMATS=html") @@ -1456,7 +1340,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.") (file-name (git-file-name name version)) (sha256 (base32 - "0r9aimyrv7p4ykqnwb9ac3fd0dv11zmv2ll6qkmm5s875s35hhfl")))) + "0qm1zq8bq6r7l1pssb9isnm5a03kixf5p3x7670ap4xwligdn3wg")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no tests exist @@ -1485,7 +1369,7 @@ libraries.") (file-name (git-file-name name version)) (sha256 (base32 - "1ysnj0973y05nn016hxrghccfv65cas772i369xflay0sns8anqf")))) + "15kdg661pq79npwb4j28hllqrvwygsz5rblzbdishiikysrba8wl")))) (synopsis "Official KiCad footprint libraries") (description "This package contains the official KiCad footprint libraries."))) @@ -1502,7 +1386,7 @@ libraries.") (file-name (git-file-name name version)) (sha256 (base32 - "0njv4y31k62qhcx0xxcl94p34jgna8z4bs3hwjwzjfmp7ddl2dyx")))) + "0ngf0k5f0a073k5v4q78zk6gj6xjjxzbb6551qf9k9wy8bsmgr2k")))) (synopsis "Official KiCad 3D model libraries") (description "This package contains the official KiCad 3D model libraries."))) @@ -3505,7 +3389,7 @@ dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.") (define-public freecad (package (name "freecad") - (version "1.0.1") + (version "1.0.2") (source (origin (method git-fetch) @@ -3514,7 +3398,7 @@ dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0p3pa4w1xj7sgqk9vxdri8l3hbx0a8iz2pwn8gwjqlhc62z4hrg8")) + (base32 "1zyz473fzrz9h073wp4k65qq4bkhqsp245nsv6nv186sl78l99xa")) (modules '((guix build utils))) (snippet '(begin |