aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/electronics.scm
diff options
context:
space:
mode:
authorTheodoros Foradis <theodoros.for@openmailbox.org>2017-06-24 00:05:17 +0300
committerDanny Milosavljevic <dannym@scratchpost.org>2017-06-24 08:07:15 +0200
commit6df20b5ae64b747865265410609527c0ac134915 (patch)
treeeb1a68be44f94f7ce823bb1c02b9292d747ad0b3 /gnu/packages/electronics.scm
parent2dbad1dd6e94bcc8ecb6f1a2d11f87845022a6b6 (diff)
downloadguix-6df20b5ae64b747865265410609527c0ac134915.tar
guix-6df20b5ae64b747865265410609527c0ac134915.tar.gz
gnu: Add pulseview.
* gnu/packages/electronics.scm (pulseview): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/electronics.scm')
-rw-r--r--gnu/packages/electronics.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 75bb2960d6..8a9f625dc5 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -22,7 +22,9 @@
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system cmake)
#:use-module (gnu packages)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
@@ -32,6 +34,7 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages sdcc))
(define-public libserialport
@@ -218,3 +221,33 @@ format support.")
(synopsis "Command-line frontend for sigrok")
(description "Sigrok-cli is a command-line frontend for sigrok.")
(license license:gpl3+)))
+
+(define-public pulseview
+ (package
+ (name "pulseview")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://sigrok.org/download/source/pulseview/pulseview-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q"))))
+ (arguments
+ `(#:configure-flags '("-DCMAKE_CXX_FLAGS=-fext-numeric-literals")))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("boost" ,boost)
+ ("glib" ,glib)
+ ("glibmm" ,glibmm)
+ ("qt" ,qt)
+ ("libsigrok" ,libsigrok)
+ ("libsigrokdecode" ,libsigrokdecode)))
+ (build-system cmake-build-system)
+ (home-page "http://www.sigrok.org/wiki/PulseView")
+ (synopsis "Qt based logic analyzer, oscilloscope and MSO GUI for sigrok")
+ (description "PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI
+for sigrok.")
+ (license license:gpl3+)))