tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
game-devices-udev-rules: 0.21 -> 0.22
Keenan Weaver
2 years ago
578b8eac
5a193fb4
+14
-13
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
game-devices-udev-rules
default.nix
+14
-13
pkgs/os-specific/linux/game-devices-udev-rules/default.nix
···
1
1
-
{
2
2
-
lib,
3
3
-
stdenv,
4
4
-
fetchFromGitea,
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitea
4
4
+
, bash
5
5
}:
6
6
-
stdenv.mkDerivation rec {
6
6
+
7
7
+
stdenv.mkDerivation (finalAttrs: {
7
8
pname = "game-devices-udev-rules";
8
8
-
version = "0.21";
9
9
+
version = "0.22";
9
10
10
11
src = fetchFromGitea {
11
12
domain = "codeberg.org";
12
13
owner = "fabiscafe";
13
14
repo = "game-devices-udev";
14
14
-
rev = version;
15
15
-
hash = "sha256-Yy91yDF5BSDTTlr/Pj8e0UklPooEdzvRW8mkhdHtHVo=";
15
15
+
rev = finalAttrs.version;
16
16
+
hash = "sha256-1aOb8pJxB+/PM7spcvZcy/cwdEolHQ4+lwBLij+6iDk=";
16
17
};
17
18
18
18
-
installPhase = ''
19
19
-
runHook preInstall
19
19
+
postInstall = ''
20
20
install -Dm444 -t "$out/lib/udev/rules.d" *.rules
21
21
-
runHook postInstall
21
21
+
substituteInPlace $out/lib/udev/rules.d/71-powera-controllers.rules \
22
22
+
--replace "/bin/sh" "${bash}/bin/bash"
22
23
'';
23
24
24
25
meta = with lib; {
···
32
33
Additionally, you may need to enable 'hardware.uinput'.
33
34
'';
34
35
platforms = platforms.linux;
35
35
-
maintainers = with maintainers; [keenanweaver];
36
36
+
maintainers = with maintainers; [ keenanweaver ];
36
37
};
37
37
-
}
38
38
+
})