2014-05-18 21:28:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-30 18:49:53 +01:00
|
|
|
name = "libsigrokdecode-0.5.0";
|
2014-05-18 21:28:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
2017-08-30 18:49:53 +01:00
|
|
|
sha256 = "1hfigfj1976qk11kfsgj75l20qvyq8c9p2h4mjw23d59rsg5ga2a";
|
2014-05-18 21:28:44 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib python3 libsigrok check ];
|
2014-05-18 21:28:44 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|