#
# udev rules for YKUSH hubs
#
{ pkgs }:
pkgs.stdenv.mkDerivation rec {
  pname = "ykush-udev-rules";
  meta.description = "udev rules for YepKit USB hubs";
  version = "0.1.1";

  dontBuild = true;
  dontConfigure = true;

  src = ./.;

  installPhase = '' mkdir -p $out/lib/udev/rules.d
                    cp $src/ykush.rules $out/lib/udev/rules.d/99_ykush.rules
                 '';
}
