2014-05-18 20:28:44 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-20 15:35:43 +00:00
|
|
|
name = "libsigrokdecode-0.5.2";
|
2014-05-18 20:28:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 05:04:25 +00:00
|
|
|
url = "https://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
2018-09-20 15:35:43 +00:00
|
|
|
sha256 = "1w434nl1syjkvwl08lji3r9sr60lbxp1nqys8hqwzv2lgiwrx3g0";
|
2014-05-18 20:28:44 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib python3 libsigrok check ];
|
2014-05-18 20:28:44 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Protocol decoding library for the sigrok signal analysis software suite";
|
2018-03-25 05:04:25 +00:00
|
|
|
homepage = https://sigrok.org/;
|
2014-05-18 20:28:44 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|