8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
19 lines
552 B
Nix
19 lines
552 B
Nix
{ stdenv, solaar }:
|
|
|
|
# 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
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "logitech-udev-rules";
|
|
inherit (solaar) version;
|
|
|
|
buildCommand = ''
|
|
install -Dm644 -t $out/etc/udev/rules.d ${solaar.src}/rules.d/*.rules
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "udev rules for Logitech devices";
|
|
inherit (solaar.meta) homepage license platforms;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|