nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

finalmouse-udev-rules: init at 0-unstable-2025-05-05

Emilia 24234fde 3f1cf450

+37
+37
pkgs/by-name/fi/finalmouse-udev-rules/package.nix
··· 1 + { 2 + fetchFromGitHub, 3 + lib, 4 + stdenv, 5 + }: 6 + 7 + stdenv.mkDerivation { 8 + pname = "finalmouse-udev-rules"; 9 + version = "0-unstable-2025-05-05"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "teamfinalmouse"; 13 + repo = "xpanel-linux-permissions"; 14 + rev = "60c4ed794bd946e467559cc572cf25bb99bf04b6"; 15 + hash = "sha256-E2xhm+8fFlxgIKjZlAvosLk/KgbmLk01BjK++y8laBc="; 16 + }; 17 + 18 + dontUnpack = true; 19 + 20 + installPhase = '' 21 + runHook preInstall 22 + 23 + install -Dpm644 $src/99-finalmouse.rules $out/lib/udev/rules.d/70-finalmouse.rules 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + meta = { 29 + homepage = "https://github.com/teamfinalmouse/xpanel-linux-permissions"; 30 + description = "udev rules that give NixOS permission to communicate with Finalmouse mice"; 31 + platforms = lib.platforms.linux; 32 + license = lib.licenses.mit; 33 + maintainers = with lib.maintainers; [ 34 + emilia 35 + ]; 36 + }; 37 + }