3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/logitech-udev-rules/default.nix

20 lines
552 B
Nix
Raw Normal View History

2019-03-11 05:09:30 +00:00
{ 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
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "logitech-udev-rules";
2019-03-11 05:09:30 +00:00
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 ];
};
}