1{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
2
3stdenv.mkDerivation rec {
4 name = "libsigrokdecode-0.5.0";
5
6 src = fetchurl {
7 url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
8 sha256 = "1hfigfj1976qk11kfsgj75l20qvyq8c9p2h4mjw23d59rsg5ga2a";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ glib python3 libsigrok check ];
13
14 meta = with stdenv.lib; {
15 description = "Protocol decoding library for the sigrok signal analysis software suite";
16 homepage = http://sigrok.org/;
17 license = licenses.gpl3Plus;
18 platforms = platforms.linux;
19 maintainers = [ maintainers.bjornfor ];
20 };
21}