nixpkgs/pkgs/os-specific/linux/android-udev-rules/default.nix
2015-07-28 12:33:30 +03:00

23 lines
701 B
Nix

{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "android-udev-rules-20150301";
src = fetchgit {
url = "https://github.com/M0Rf30/android-udev-rules";
rev = "2cc51a456ccfbca338c4e6b76211645aaac631e9";
sha256 = "dbf1614cebb466d1adbcc5f17cefc0c37f148f9e3b46443b3e82f6cd19a1514f";
};
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 ];
};
}