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