2014-05-18 21:28:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-11 20:21:35 +01:00
|
|
|
name = "libsigrokdecode-0.4.0";
|
2014-05-18 21:28:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
2016-05-11 20:21:35 +01:00
|
|
|
sha256 = "0drmxjc2xavccjl2i6vcjipijrn7459nv8cpmm788pi4fcdrszpx";
|
2014-05-18 21:28:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig glib python3 libsigrok check ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Protocol decoding library for the sigrok signal analysis software suite";
|
|
|
|
homepage = http://sigrok.org/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|