nixpkgs-suyu/pkgs/os-specific/linux/teck-udev-rules/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
476 B
Nix
Raw Normal View History

2021-04-19 13:25:19 +02:00
{ 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 ];
};
}