From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOVmJ-0002MX-LZ for guix-patches@gnu.org; Fri, 23 Jun 2017 17:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOVmH-0005EO-4P for guix-patches@gnu.org; Fri, 23 Jun 2017 17:06:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOVmH-0005E8-1J for guix-patches@gnu.org; Fri, 23 Jun 2017 17:06:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dOVmG-0003YA-QG for guix-patches@gnu.org; Fri, 23 Jun 2017 17:06:04 -0400 Subject: [bug#27355] [PATCH v2 7/7] gnu: Add pulseview. Resent-Message-ID: From: Theodoros Foradis Date: Sat, 24 Jun 2017 00:05:17 +0300 Message-Id: <20170623210517.25205-7-theodoros.for@openmailbox.org> In-Reply-To: <20170623210517.25205-1-theodoros.for@openmailbox.org> References: <87poduquyl.fsf@openmailbox.org> <20170623210517.25205-1-theodoros.for@openmailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27355@debbugs.gnu.org * gnu/packages/electronics.scm (pulseview): New variable. --- gnu/packages/electronics.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 75bb2960d..8a9f625dc 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+))) -- 2.13.1