1 { lib, stdenv, fetchFromGitHub }:
4 # In NixOS, simply add this package to services.udev.packages:
5 # services.udev.packages = [ pkgs.android-udev-rules ];
7 stdenv.mkDerivation rec {
8 pname = "android-udev-rules";
11 src = fetchFromGitHub {
13 repo = "android-udev-rules";
15 hash = "sha256-ZKJhGobW3F339PBsIezMTbzouomYGxDJyFbJMGIeim4=";
20 install -D 51-android.rules $out/lib/udev/rules.d/51-android.rules
25 homepage = "https://github.com/M0Rf30/android-udev-rules";
26 description = "Android udev rules list aimed to be the most comprehensive on the net";
27 platforms = platforms.linux;
28 license = licenses.gpl3Plus;
29 maintainers = with maintainers; [ abbradar ];