depot/third_party/nixpkgs/pkgs/os-specific/linux/wooting-udev-rules/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
690 B
Nix

{ stdenv }:
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 ];
unpackPhase = ":";
installPhase = ''
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
'';
meta = with stdenv.lib; {
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 ];
};
}