2014-05-18 21:28:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-23 20:30:04 +00:00
|
|
|
name = "libsigrokdecode-0.5.3";
|
2014-05-18 21:28:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 06:04:25 +01:00
|
|
|
url = "https://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
2019-12-23 20:30:04 +00:00
|
|
|
sha256 = "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265";
|
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";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://sigrok.org/;
|
2014-05-18 21:28:44 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2019-06-06 00:05:37 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-05-18 21:28:44 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|