c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
22 lines
476 B
Nix
22 lines
476 B
Nix
{ 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.bbjubjub ];
|
|
};
|
|
}
|