2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wooting-udev-rules";
|
|
|
|
version = "20190601";
|
|
|
|
|
|
|
|
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
|
|
|
|
src = [ ./wooting.rules ];
|
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
dontUnpack = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wooting.helpscoutdocs.com/article/34-linux-udev-rules";
|
|
|
|
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
|
|
};
|
|
|
|
}
|