3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/wooting-udev-rules/default.nix
David Wood fec3877c15
wooting-udev-rules: add Lekker Edition rules (#124380)
* wooting-udev-rules: add Lekker Edition rules

Signed-off-by: David Wood <david.wood@codeplay.com>

* use dontunpack

Co-authored-by: Artturi <Artturin@artturin.com>
2021-08-21 19:51:12 +02:00

24 lines
688 B
Nix

{ lib, stdenv }:
stdenv.mkDerivation rec {
pname = "wooting-udev-rules";
version = "20210525";
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
src = [ ./wooting.rules ];
dontUnpack = true;
installPhase = ''
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
'';
meta = with 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 ];
};
}