mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
finalmouse-udev-rules: init package (#404038)
This commit is contained in:
commit
48b2ee79a8
2 changed files with 44 additions and 0 deletions
|
|
@ -7298,6 +7298,13 @@
|
|||
githubId = 428026;
|
||||
name = "embr";
|
||||
};
|
||||
emilia = {
|
||||
email = "nix@emilia.codes";
|
||||
github = "emiliaaah";
|
||||
githubId = 55017867;
|
||||
name = "Emilia";
|
||||
keys = [ { fingerprint = "F772 3569 4B43 B599 73C2 A931 1EFB E941 B89B B810"; } ];
|
||||
};
|
||||
emilioziniades = {
|
||||
email = "emilioziniades@protonmail.com";
|
||||
github = "emilioziniades";
|
||||
|
|
|
|||
37
pkgs/by-name/fi/finalmouse-udev-rules/package.nix
Normal file
37
pkgs/by-name/fi/finalmouse-udev-rules/package.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "finalmouse-udev-rules";
|
||||
version = "0-unstable-2025-05-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "teamfinalmouse";
|
||||
repo = "xpanel-linux-permissions";
|
||||
rev = "60c4ed794bd946e467559cc572cf25bb99bf04b6";
|
||||
hash = "sha256-E2xhm+8fFlxgIKjZlAvosLk/KgbmLk01BjK++y8laBc=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dpm644 $src/99-finalmouse.rules $out/lib/udev/rules.d/70-finalmouse.rules
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/teamfinalmouse/xpanel-linux-permissions";
|
||||
description = "udev rules that give NixOS permission to communicate with Finalmouse mice";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
emilia
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue