2018-12-09 18:47:14 +00:00
|
|
|
{ stdenv, pkgconfig, autoreconfHook,
|
2020-04-04 09:50:34 +01:00
|
|
|
glib, libzip, libserialport, check, libusb1, libftdi,
|
2018-12-09 18:47:14 +00:00
|
|
|
systemd, alsaLib, dsview
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-12-09 18:47:14 +00:00
|
|
|
inherit (dsview) version src;
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libsigrok4dsl";
|
2018-12-09 18:47:14 +00:00
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
export sourceRoot=$sourceRoot/libsigrok4DSL
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-04-04 09:50:34 +01:00
|
|
|
glib libzip libserialport libusb1 libftdi systemd check alsaLib
|
2018-12-09 18:47:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fork of the sigrok library for usage with DSView";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.dreamsourcelab.com/";
|
2018-12-09 18:47:14 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bachp ];
|
|
|
|
};
|
|
|
|
}
|