1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/os-specific/linux/teck-udev-rules/default.nix
2021-04-20 09:10:43 +02:00

23 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.lourkeur ];
};
}