1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/wooting-udev-rules/default.nix
2020-04-10 17:54:53 +01:00

24 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 ];
};
}