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

24 lines
690 B
Nix
Raw Normal View History

2015-02-04 21:09:18 +01:00
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "android-udev-rules";
src = fetchgit {
url = "git://github.com/M0Rf30/android-udev-rules";
2015-03-29 04:04:18 +02:00
rev = "2cc51a456ccfbca338c4e6b76211645aaac631e9";
sha256 = "dbf1614cebb466d1adbcc5f17cefc0c37f148f9e3b46443b3e82f6cd19a1514f";
2015-02-04 21:09:18 +01: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 ];
};
}