Merge pull request #165936 from ckiee/logiops-init

This commit is contained in:
Sandro 2022-03-28 16:36:16 +02:00 committed by GitHub
commit dd45456b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, udev, libevdev, libconfig }:
stdenv.mkDerivation rec {
pname = "logiops";
version = "0.2.3";
src = fetchFromGitHub {
owner = "pixlone";
repo = "logiops";
rev = "v${version}";
sha256 = "sha256-1v728hbIM2ODtB+r6SYzItczRJCsbuTvhYD2OUM1+/E=";
};
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ udev libevdev libconfig ];
meta = with lib; {
description = "Unofficial userspace driver for HID++ Logitech devices";
homepage = "https://github.com/PixlOne/logiops";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ckie ];
platforms = with platforms; linux;
};
}

View File

@ -24057,7 +24057,9 @@ with pkgs;
lmodern = callPackage ../data/fonts/lmodern { };
logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules {};
logiops = callPackage ../misc/drivers/logiops { };
logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules { };
# lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi
# lohit-fonts.kannada lohit-fonts.malayalam lohit-fonts.marathi lohit-fonts.nepali lohit-fonts.odia