3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add qelectrotech.

* gnu/packages/engineering.scm (qelectrotech): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Vinicius Monego 2021-12-18 16:53:39 +00:00 committed by Mathieu Othacehe
parent 037c2b6d3a
commit 01477bce71
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -97,6 +97,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux) ;FIXME: for pcb
@ -716,6 +717,43 @@ ready for production.")
;; released under GPLv3+.
(license (list license:gpl3+ license:cc-by-sa3.0))))
(define-public qelectrotech
(package
(name "qelectrotech")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://git.tuxfamily.org/qet/qet.git/"
"snapshot/qet-" version ".tar.gz"))
(sha256
(base32 "0w70fqwhqqzga1kfp34v8z1xf9988nvvi3d5gwl2sg429p9mpsk2"))))
(build-system qt-build-system)
(arguments
;; XXX: tests are built for the CMake build option but it seems to be
;; broken in 0.8.0.
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
;; Patch hardcoded path before running qmake.
(substitute* "qelectrotech.pro" (("\\/usr\\/local") out))
(invoke "qmake")))))))
(native-inputs
(list pkg-config qttools))
(inputs
(list kcoreaddons kwidgetsaddons qtbase-5 qtsvg sqlite))
(home-page "https://qelectrotech.org/")
(synopsis "CAD/CAE editor focusing on schematics drawing features")
(description "QElectroTech, or QET in short, is a desktop application to
create diagrams and schematics. The software is primarily intended to create
electrical documentation but it can also be used to draw any kinds of diagrams,
such as those made in pneumatics, hydraulics, process industries, electronics,
and others.")
(license license:gpl2+)))
(define-public gerbv
(package
(name "gerbv")