nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 864 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 stdenv, 5}: 6 7stdenv.mkDerivation { 8 pname = "finalmouse-udev-rules"; 9 version = "0-unstable-2025-08-15"; 10 11 src = fetchFromGitHub { 12 owner = "teamfinalmouse"; 13 repo = "xpanel-linux-permissions"; 14 rev = "6b200ec39f1fa31edf6648f5ec3d5738c3770530"; 15 hash = "sha256-Bo8XBvrUlZe0eVQlNQGb0xuTb+wecipsHwLdZpK0dUQ="; 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}