game-devices-udev-rules: 0.21 -> 0.22

This commit is contained in:
Keenan Weaver 2023-07-02 17:03:01 -05:00
parent 5a193fb4dd
commit 578b8eac37
No known key found for this signature in database
GPG key ID: 0926B70C6A27AAE1

View file

@ -1,24 +1,25 @@
{ { lib
lib, , stdenv
stdenv, , fetchFromGitea
fetchFromGitea, , bash
}: }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "game-devices-udev-rules"; pname = "game-devices-udev-rules";
version = "0.21"; version = "0.22";
src = fetchFromGitea { src = fetchFromGitea {
domain = "codeberg.org"; domain = "codeberg.org";
owner = "fabiscafe"; owner = "fabiscafe";
repo = "game-devices-udev"; repo = "game-devices-udev";
rev = version; rev = finalAttrs.version;
hash = "sha256-Yy91yDF5BSDTTlr/Pj8e0UklPooEdzvRW8mkhdHtHVo="; hash = "sha256-1aOb8pJxB+/PM7spcvZcy/cwdEolHQ4+lwBLij+6iDk=";
}; };
installPhase = '' postInstall = ''
runHook preInstall
install -Dm444 -t "$out/lib/udev/rules.d" *.rules install -Dm444 -t "$out/lib/udev/rules.d" *.rules
runHook postInstall substituteInPlace $out/lib/udev/rules.d/71-powera-controllers.rules \
--replace "/bin/sh" "${bash}/bin/bash"
''; '';
meta = with lib; { meta = with lib; {
@ -32,6 +33,6 @@ stdenv.mkDerivation rec {
Additionally, you may need to enable 'hardware.uinput'. Additionally, you may need to enable 'hardware.uinput'.
''; '';
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [keenanweaver]; maintainers = with maintainers; [ keenanweaver ];
}; };
} })