1 { fetchFromGitLab, lib, stdenv
2 , autoreconfHook, pkg-config
6 stdenv.mkDerivation rec {
10 src = fetchFromGitLab {
11 domain = "gitlab.zapb.de";
15 sha256 = "sha256-odJDE1A0WZ9vBXPxaUdthjTgmbmbdHjbyY1PkaM4+vI=";
18 nativeBuildInputs = [ autoreconfHook pkg-config ];
19 buildInputs = [ libusb1 ];
22 patchShebangs autogen.sh
26 install -Dm644 contrib/99-libjaylink.rules $out/lib/udev/rules.d/libjaylink.rules
30 homepage = "https://gitlab.zapb.de/libjaylink/libjaylink";
31 description = "libjaylink is a shared library written in C to access SEGGER J-Link and compatible devices.";
32 license = licenses.gpl2Plus;
33 maintainers = with maintainers; [ felixsinger ];
34 platforms = platforms.linux;