13 stdenv.mkDerivation (oldAttrs: {
17 src = fetchFromGitHub {
20 rev = "v${oldAttrs.version}";
21 hash = "sha256-GAnlPqjIFGyOWwYFs7gth2m9ITc1jyiaW0sWwQ2zFOs=";
22 # In v0.3.0, the `ipcgull` submodule was added as a dependency
23 # https://github.com/PixlOne/logiops/releases/tag/v0.3.0
24 fetchSubmodules = true;
28 ./pkgs0001-Make-DBUS_SYSTEM_POLICY_INSTALL_DIR-externally-overr.patch
43 "-DLOGIOPS_VERSION=${oldAttrs.version}"
44 "-DDBUS_SYSTEM_POLICY_INSTALL_DIR=${placeholder "out"}/share/dbus-1/system.d"
47 PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
50 description = "Unofficial userspace driver for HID++ Logitech devices";
51 mainProgram = "logid";
52 homepage = "https://github.com/PixlOne/logiops";
53 license = licenses.gpl3Plus;
55 platforms = with platforms; linux;