mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-21 16:34:58 +00:00
microsoft-ergonomic-keyboard: init at 1.0
This commit is contained in:
parent
b5c5a0936e
commit
b12a87bc83
@ -17,6 +17,7 @@
|
||||
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
|
||||
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
||||
map = pkgs.callPackage ./pkgs/map { };
|
||||
microsoft-ergonomic-keyboard = pkgs.callPackage ./pkgs/microsoft-ergonomic-keyboard { };
|
||||
openscad-snapshot = pkgs.callPackage ./pkgs/openscad-snapshot { };
|
||||
q = pkgs.callPackage ./pkgs/q { };
|
||||
# TODO: fix dependency specification
|
||||
|
31
pkgs/microsoft-ergonomic-keyboard/default.nix
Normal file
31
pkgs/microsoft-ergonomic-keyboard/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, lib, fetchFromGitLab, kernel, kmod }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "microsoft-ergonomic-keyboard-${version}-${kernel.version}";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "arnekeller";
|
||||
repo = "microsoft-ergonomic-keyboard";
|
||||
rev = "f23be31228daa7ce62f019acb8f7a127e5bd846c";
|
||||
sha256 = "0knjkx4bqjxqsm2wly3dj96w1ljzhxavs26a3m65bb04phcb2n8w";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = [
|
||||
"KERNELRELEASE=${kernel.modDirVersion}"
|
||||
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"INSTALL_MOD_PATH=$(out)"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A kernel module to fix the office key on MS ergonomic keyboards";
|
||||
homepage = "https://gitlab.com/arnekeller/microsoft-ergonomic-keyboard";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.fliegendewurst ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user