#
# udev rules for Tilt Five devices
#
{ pkgs }:
pkgs.stdenv.mkDerivation rec {
  pname = "linux-nfc-lenovo-udev";
  meta.description = "udev rules for Lenovo devices";
  version = "0.0.1";

  dontBuild = true;
  dontConfigure = true;

  src = ./udev;

  installPhase = ''
    	mkdir -p $out/lib/udev/rules.d
        cp $src/60-lenovo-nfc.rules $out/lib/udev/rules.d/60-lenovo-nfc.rules
  '';
}
