gnu: Add sigrok-firmware-fx2lafw.

* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Theodoros Foradis 2017-06-24 00:05:14 +03:00 committed by Danny Milosavljevic
parent c07358022a
commit 7a19de9c48
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -28,8 +28,8 @@ (define-module (gnu packages electronics)
#:use-module (gnu packages glib)
#:use-module (gnu packages graphviz)
#: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
@ -90,3 +90,24 @@ (define-public libsigrokdecode
(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+)))