#
# udev rules for Tilt Five devices
#
{ pkgs }:
pkgs.stdenv.mkDerivation rec {
  pname = "t5-udev-rules";
  meta.description = "udev rules for t5 devices";

  version = "0.1.1";

  dontBuild = true;
  dontConfigure = true;

  src = ./.;

  installPhase = ''
    	mkdir -p $out/lib/udev/rules.d
            cp $src/tiltfive-dev.rules $out/lib/udev/rules.d/99_TiltFive.rules
  '';
}
