logiops: init at 0.2.3
Pretty easy to package. Opened issue with upstream to get rid of the one patch needed: https://github.com/PixlOne/logiops/issues/307
This commit is contained in:
parent
9cc05394bc
commit
d999e48102
26
pkgs/misc/drivers/logiops/default.nix
Normal file
26
pkgs/misc/drivers/logiops/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -24002,6 +24002,8 @@ with pkgs;
|
||||||
|
|
||||||
lmodern = callPackage ../data/fonts/lmodern { };
|
lmodern = callPackage ../data/fonts/lmodern { };
|
||||||
|
|
||||||
|
logiops = callPackage ../misc/drivers/logiops { };
|
||||||
|
|
||||||
logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules { };
|
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.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi
|
||||||
|
|
Loading…
Reference in a new issue