From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL54t-00046w-Qz for guix-patches@gnu.org; Wed, 14 Jun 2017 05:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL54p-0001fx-Dj for guix-patches@gnu.org; Wed, 14 Jun 2017 05:59:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dL54p-0001fp-B5 for guix-patches@gnu.org; Wed, 14 Jun 2017 05:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dL54p-0001sP-4L for guix-patches@gnu.org; Wed, 14 Jun 2017 05:59:03 -0400 Subject: [bug#27355] [PATCH 4/7] gnu: Add sigrok-firmware-fx2lafw. Resent-Message-ID: From: Theodoros Foradis Date: Wed, 14 Jun 2017 12:58:10 +0300 Message-Id: <20170614095813.1926-4-theodoros.for@openmailbox.org> In-Reply-To: <20170614095813.1926-1-theodoros.for@openmailbox.org> References: <20170614095813.1926-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 (sigrok-firmware-fx2lafw): New variable. --- gnu/packages/electronics.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 90b025680..d1edb008d 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -26,7 +26,8 @@ #:use-module (gnu packages check) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages sdcc)) (define-public libserialport (package @@ -72,3 +73,24 @@ to take care of the OS-specific details when writing software that uses serial p (description "Libsigrokdecode is a shared library written in C, which provides (streaming) protocol decoding functionality.") (license license:gpl3+))) + +(define-public sigrok-firmware-fx2lafw + (package + (name "sigrok-firmware-fx2lafw") + (version "0.1.5") + (source (origin + (method url-fetch) + (uri (string-append + "http://sigrok.org/download/source/sigrok-firmware-fx2lafw/" + "sigrok-firmware-fx2lafw-" version ".tar.gz")) + (sha256 + (base32 + "0bbdgy4rpc00jl0l0744m2ibjlqi26bhrkjr7vplivdsjdmhjx6a")))) + (native-inputs + `(("sdcc" ,sdcc))) + (build-system gnu-build-system) + (home-page "http://www.sigrok.org/wiki/Fx2lafw") + (synopsis "Firmware for Cypress FX2 chips") + (description "Fx2lafw is free firmware for Cypress FX2 chips which makes them usable +as simple logic analyzer and/or oscilloscope hardware.") + (license license:gpl2+))) -- 2.13.1