android-udev-rules: drop (#454366)

This commit is contained in:
Masum Reza
2025-10-23 03:25:24 +00:00
committed by GitHub
6 changed files with 3 additions and 50 deletions

View File

@@ -180,6 +180,8 @@
- `proton-caller` has been removed due to lack of upstream maintenance.
- `android-udev-rules` has been removed, as it is effectively superseded by built-in uaccess rules in systemd.
- `lima` package now only includes the guest agent for the host's architecture by default. If your guest VM's architecture differs from your Lima host's, you'll need to enable the `lima-additional-guestagents` package by setting `withAdditionalGuestAgents = true` when overriding lima with this input.
- `mongodb-6_0` was removed as it is end of life as of 2025-07-31.

View File

@@ -16,8 +16,6 @@
type = lib.types.bool;
description = ''
Whether to configure system to use Android Debug Bridge (adb).
To grant access to a user, it must be part of adbusers group:
`users.users.alice.extraGroups = ["adbusers"];`
'';
};
};
@@ -25,8 +23,6 @@
###### implementation
config = lib.mkIf config.programs.adb.enable {
services.udev.packages = [ pkgs.android-udev-rules ];
environment.systemPackages = [ pkgs.android-tools ];
users.groups.adbusers = { };
};
}

View File

@@ -34,7 +34,6 @@ in
services.udev = {
enable = true;
packages = with pkgs; [
android-udev-rules
xr-hardware
];
};

View File

@@ -217,7 +217,6 @@ in
};
services = {
udev.packages = with pkgs; [ android-udev-rules ];
avahi = {
enable = true;
publish = {

View File

@@ -1,44 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "android-udev-rules";
version = "20250525";
src = fetchFromGitHub {
owner = "M0Rf30";
repo = "android-udev-rules";
rev = finalAttrs.version;
hash = "sha256-4ODU9EoVYV+iSu6+M9ePed45QkOZgWkDUlFTlWJ8ttQ=";
};
installPhase = ''
runHook preInstall
install -D 51-android.rules $out/lib/udev/rules.d/51-android.rules
runHook postInstall
'';
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
meta = {
homepage = "https://github.com/M0Rf30/android-udev-rules";
description = "Android udev rules list aimed to be the most comprehensive on the net";
longDescription = ''
Android udev rules list aimed to be the most comprehensive on the net.
To use on NixOS, simply add this package to services.udev.packages:
```nix
services.udev.packages = [ pkgs.android-udev-rules ];
```
'';
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = [ ];
teams = [ lib.teams.android ];
};
})

View File

@@ -434,6 +434,7 @@ mapAliases {
alsaUtils = throw "'alsaUtils' has been renamed to/replaced by 'alsa-utils'"; # Converted to throw 2024-10-17
amazon-qldb-shell = throw "'amazon-qldb-shell' has been removed due to being unmaintained upstream"; # Added 2025-07-30
amdvlk = throw "'amdvlk' has been removed since it was deprecated by AMD. Its replacement, RADV, is enabled by default."; # Added 2025-09-20
android-udev-rules = throw "'android-udev-rules' has been removed due to being superseded by built-in systemd uaccess rules."; # Added 2025-10-21
angelfish = throw "'angelfish' has been renamed to/replaced by 'libsForQt5.kdeGear.angelfish'"; # Converted to throw 2024-10-17
animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20
ansible_2_14 = throw "Ansible 2.14 goes end of life in 2024/05 and can't be supported throughout the 24.05 release cycle"; # Added 2024-04-11