2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv }:
|
2019-12-19 12:26:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wooting-udev-rules";
|
2023-07-04 19:27:57 +00:00
|
|
|
version = "unstable-2023-03-31";
|
2019-12-19 12:26:45 +00:00
|
|
|
|
2023-07-04 19:27:57 +00:00
|
|
|
# Source: https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/
|
2019-12-19 12:26:45 +00:00
|
|
|
src = [ ./wooting.rules ];
|
|
|
|
|
2021-07-18 21:42:48 +00:00
|
|
|
dontUnpack = true;
|
2019-12-19 12:26:45 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-07-04 19:27:57 +00:00
|
|
|
homepage = "https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/";
|
2019-12-19 12:26:45 +00:00
|
|
|
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
|
|
};
|
|
|
|
}
|