1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/os-specific/linux/android-udev-rules/default.nix
2016-01-13 21:21:43 +03:00

25 lines
700 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "android-udev-rules-20151209";
src = fetchFromGitHub {
owner = "M0Rf30";
repo = "android-udev-rules";
rev = "b22717d2337f991787ab687f6d0258207c6ad288";
sha256 = "1z03nlqj68bxs163jmn66j3n0ywwar5bihpsz5ag8ak3nn2d3fp2";
};
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 ];
};
}