3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix

29 lines
687 B
Nix
Raw Normal View History

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