2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, solaar }:
|
2019-03-11 06:09:30 +01:00
|
|
|
|
|
|
|
# ltunifi and solaar both provide udev rules but solaar's rules are more
|
|
|
|
# up-to-date so we simply use that instead of having to maintain our own rules
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "logitech-udev-rules";
|
2019-03-11 06:09:30 +01:00
|
|
|
inherit (solaar) version;
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
install -Dm644 -t $out/etc/udev/rules.d ${solaar.src}/rules.d/*.rules
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-03-11 06:09:30 +01:00
|
|
|
description = "udev rules for Logitech devices";
|
|
|
|
inherit (solaar.meta) homepage license platforms;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|