1 { lib, stdenv, fetchFromGitHub, pkg-config, cmake, udev, libevdev, libconfig }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "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 mainProgram = "logid";
22 homepage = "https://github.com/PixlOne/logiops";
23 license = licenses.gpl3Plus;
25 platforms = with platforms; linux;