1 { lib, stdenv, fetchFromGitHub, pkg-config, cmake, udev, libevdev, libconfig }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-1v728hbIM2ODtB+r6SYzItczRJCsbuTvhYD2OUM1+/E=";
14 PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
16 nativeBuildInputs = [ cmake pkg-config ];
17 buildInputs = [ udev libevdev libconfig ];
20 description = "Unofficial userspace driver for HID++ Logitech devices";
21 homepage = "https://github.com/PixlOne/logiops";
22 license = licenses.gpl3Plus;
23 maintainers = with maintainers; [ ckie ];
24 platforms = with platforms; linux;