mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge commit 'ab24cfb0d3d43d0e8c21604993007dd66a4694ea'
This commit is contained in:
commit
cc239d848f
2 changed files with 35 additions and 0 deletions
33
pkgs/os-specific/linux/qmk-udev-rules/default.nix
Normal file
33
pkgs/os-specific/linux/qmk-udev-rules/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
## Usage
|
||||
# In NixOS, simply add this package to services.udev.packages:
|
||||
# services.udev.packages = [ pkgs.qmk-udev-rules ];
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qmk-udev-rules";
|
||||
version = "0.13.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qmk";
|
||||
repo = "qmk_firmware";
|
||||
rev = version;
|
||||
sha256 = "08d2ri9g6lky3ixd5h0scm95hgc52lcjr3vcnmpdxn780q9ygmkm";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D util/udev/50-qmk.rules $out/lib/udev/rules.d/50-qmk.rules
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/qmk/qmk_firmware";
|
||||
description = "Official QMK udev rules list";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ ekleog ];
|
||||
};
|
||||
}
|
|
@ -21896,6 +21896,8 @@ with pkgs;
|
|||
|
||||
firmwareLinuxNonfree = callPackage ../os-specific/linux/firmware/firmware-linux-nonfree { };
|
||||
|
||||
qmk-udev-rules = callPackage ../os-specific/linux/qmk-udev-rules { };
|
||||
|
||||
radeontools = callPackage ../os-specific/linux/radeontools { };
|
||||
|
||||
radeontop = callPackage ../os-specific/linux/radeontop { };
|
||||
|
|
Loading…
Reference in a new issue