30 lines
586 B
Nix
30 lines
586 B
Nix
{ lib, stdenv, ... }:
|
|
let
|
|
pname = "qmk-udev-rules";
|
|
version = "0.19.6";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit pname version;
|
|
|
|
src = ./.;
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
installPhase = ''
|
|
install -D $src/50-qmk.rules $out/lib/udev/rules.d/50-qmk.rules
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "udev rules for QMK based keyboards";
|
|
homepage = "https://qmk.fm";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [
|
|
{
|
|
email = "erwin@datarift.nl";
|
|
github = "eboskma";
|
|
name = "Erwin Boskma";
|
|
}
|
|
];
|
|
};
|
|
}
|