depot/third_party/nixpkgs/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
685 B
Nix

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