nixpkgs/pkgs/os-specific/linux/android-udev-rules/default.nix

24 lines
701 B
Nix
Raw Normal View History

2015-02-04 20:09:18 +00:00
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "android-udev-rules-20151108";
2015-02-04 20:09:18 +00:00
src = fetchgit {
2015-07-28 08:59:43 +00:00
url = "https://github.com/M0Rf30/android-udev-rules";
rev = "3d21377820694cf8412e1fd09be5caaad3a5eef8";
sha256 = "2f90bc5822144df916d11ff5312c3179f1b905a7b003aa86056aa24ba433c99b";
2015-02-04 20:09:18 +00:00
};
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 ];
};
}