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