tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
finalmouse-udev-rules: init at 0-unstable-2025-05-05
Emilia
11 months ago
24234fde
3f1cf450
+37
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
fi
finalmouse-udev-rules
package.nix
+37
pkgs/by-name/fi/finalmouse-udev-rules/package.nix
reviewed
···
1
1
+
{
2
2
+
fetchFromGitHub,
3
3
+
lib,
4
4
+
stdenv,
5
5
+
}:
6
6
+
7
7
+
stdenv.mkDerivation {
8
8
+
pname = "finalmouse-udev-rules";
9
9
+
version = "0-unstable-2025-05-05";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "teamfinalmouse";
13
13
+
repo = "xpanel-linux-permissions";
14
14
+
rev = "60c4ed794bd946e467559cc572cf25bb99bf04b6";
15
15
+
hash = "sha256-E2xhm+8fFlxgIKjZlAvosLk/KgbmLk01BjK++y8laBc=";
16
16
+
};
17
17
+
18
18
+
dontUnpack = true;
19
19
+
20
20
+
installPhase = ''
21
21
+
runHook preInstall
22
22
+
23
23
+
install -Dpm644 $src/99-finalmouse.rules $out/lib/udev/rules.d/70-finalmouse.rules
24
24
+
25
25
+
runHook postInstall
26
26
+
'';
27
27
+
28
28
+
meta = {
29
29
+
homepage = "https://github.com/teamfinalmouse/xpanel-linux-permissions";
30
30
+
description = "udev rules that give NixOS permission to communicate with Finalmouse mice";
31
31
+
platforms = lib.platforms.linux;
32
32
+
license = lib.licenses.mit;
33
33
+
maintainers = with lib.maintainers; [
34
34
+
emilia
35
35
+
];
36
36
+
};
37
37
+
}