teck-udev-rules: init

This commit is contained in:
Louis Bettens 2021-04-19 13:25:19 +02:00
parent 4bd1d7cf09
commit 3c0e1f309f
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, stdenv, teck-programmer }:
stdenv.mkDerivation {
pname = "teck-udev-rules";
version = lib.getVersion teck-programmer;
inherit (teck-programmer) src;
dontBuild = true;
installPhase = ''
runHook preInstall
install 40-teck.rules -D -t $out/etc/udev/rules.d/
runHook postInstall
'';
meta = {
description = "udev rules for TECK keyboards";
inherit (teck-programmer.meta) license;
maintainers = [ lib.maintainers.lourkeur ];
};
}

View file

@ -20769,6 +20769,8 @@ in
# FIXME: `tcp-wrapper' is actually not OS-specific.
tcp_wrappers = callPackage ../os-specific/linux/tcp-wrappers { };
teck-udev-rules = callPackage ../os-specific/linux/teck-udev-rules { };
tiptop = callPackage ../os-specific/linux/tiptop { };
tpacpi-bat = callPackage ../os-specific/linux/tpacpi-bat { };