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

  dontBuild = true;
  dontConfigure = true;

  src = ./.;

  installPhase = ''
    	mkdir -p $out/lib/udev/rules.d
        cp $src/90-Hantek.rules $out/lib/udev/rules.d/90-Hantek.rules
  '';
}
