summary refs log tree commit diff
path: root/pkgs/os-specific/linux/android-udev-rules/default.nix
blob: 534ba99700430b02276f470344470c7b97794e01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchgit }:

stdenv.mkDerivation {
  name = "android-udev-rules";

  src = fetchgit {
    url = "git://github.com/M0Rf30/android-udev-rules";
    rev = "82f78561f388363a925e6663211988d9527de0c6";
    sha256 = "badd7a152acf92c75335917c07125ffb1b5fda0bed5ec1e474d76e48a8d9f0db";
  };

  installPhase = ''
    install -D 51-android.rules $out/lib/udev/rules.d/51-android.rules
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/M0Rf30/android-udev-rules;
    description = "Android udev rules list aimed to be the most comprehensive on the net";
    platforms = platforms.linux;
    license = licenses.gpl3;
    maintainers = with maintainers; [ abbradar ];
  };
}