diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-02-04 23:09:18 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-02-04 23:09:47 +0300 |
commit | 104d7e7e6254604bf362201daac76fb866cd66bd (patch) | |
tree | f0be3f6018a6a7950de8b7229fa84ef845e70667 /pkgs/os-specific | |
parent | fe07c77ff142f8a26ab0c14c65255748aa646a3a (diff) |
android-udev-rules: add package
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/android-udev-rules/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/android-udev-rules/default.nix b/pkgs/os-specific/linux/android-udev-rules/default.nix new file mode 100644 index 0000000000000..534ba99700430 --- /dev/null +++ b/pkgs/os-specific/linux/android-udev-rules/default.nix @@ -0,0 +1,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 ]; + }; +} |