game-devices-udev-rules: modernize
This commit is contained in:
@@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
domain = "codeberg.org";
|
||||
owner = "fabiscafe";
|
||||
repo = "game-devices-udev";
|
||||
rev = finalAttrs.version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-b2NBgGpRQ2pQZYQgiRSAt0loAxq1NEByRHVkQQRDOj0=";
|
||||
};
|
||||
|
||||
@@ -23,17 +23,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail "/bin/sh" "${bash}/bin/bash"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Udev rules to make supported controllers available with user-grade permissions";
|
||||
homepage = "https://codeberg.org/fabiscafe/game-devices-udev";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
longDescription = ''
|
||||
These udev rules are intended to be used as a package under 'services.udev.packages'.
|
||||
They will not be activated if installed as 'environment.systemPackages' or 'users.user.<user>.packages'.
|
||||
|
||||
Additionally, you may need to enable 'hardware.uinput'.
|
||||
'';
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ keenanweaver ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ keenanweaver ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user