nixpkgs/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix

29 lines
681 B
Nix
Raw Normal View History

2018-12-09 19:47:14 +01:00
{ stdenv, pkgconfig, autoreconfHook,
glib, libzip, libserialport, check, libusb, libftdi,
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;
pname = "libsigrok4dsl";
2018-12-09 19:47:14 +01: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";
homepage = https://www.dreamsourcelab.com/;
2018-12-09 19:47:14 +01:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bachp ];
};
}