2018-12-09 18:47:14 +00:00
|
|
|
{ stdenv, pkgconfig, autoreconfHook,
|
|
|
|
glib, libzip, libserialport, check, libusb, libftdi,
|
|
|
|
systemd, alsaLib, dsview
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
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 = [
|
|
|
|
glib libzip libserialport libusb libftdi systemd check alsaLib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fork of the sigrok library for usage with DSView";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = https://www.dreamsourcelab.com/;
|
2018-12-09 18:47:14 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bachp ];
|
|
|
|
};
|
|
|
|
}
|