nixpkgs/pkgs/os-specific/linux/wooting-udev-rules/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
751 B
Nix
Raw Normal View History

{ lib, stdenv }:
stdenv.mkDerivation rec {
pname = "wooting-udev-rules";
2023-07-04 19:27:57 +00:00
version = "unstable-2023-03-31";
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/
src = [ ./wooting.rules ];
dontUnpack = true;
installPhase = ''
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
'';
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/";
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
platforms = platforms.linux;
license = "unknown";
maintainers = with maintainers; [ davidtwco ];
};
}