mbp2018-bridge-drv: init at 0.001
This commit is contained in:
parent
26fa078985
commit
0c6a46339d
@ -0,0 +1,34 @@
|
|||||||
|
{ lib, stdenv, kernel, fetchFromGitHub, }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mbp2018-bridge-drv";
|
||||||
|
version = "b43fcc069da73e051072fde24af4014c9c487286";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "MCMrARM";
|
||||||
|
repo = "mbp2018-bridge-drv";
|
||||||
|
rev = "0.01";
|
||||||
|
sha256 = "0ac2l51ybfrvg8m36x67rsvgjqs1vwp7c89ssvbjkrcq3y4qdb53";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make -C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build \
|
||||||
|
M=$(pwd) modules
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
make -C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build \
|
||||||
|
INSTALL_MOD_PATH=$out M=$(pwd) modules_install
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A driver for MacBook models 2018 and newer, which makes the keyboard, mouse and audio output work.";
|
||||||
|
longDescription = ''
|
||||||
|
A driver for MacBook models 2018 and newer, implementing the VHCI (required for mouse/keyboard/etc.) and audio functionality.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/MCMrARM/mbp2018-bridge-drv";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ ];
|
||||||
|
};
|
||||||
|
}
|
@ -19245,6 +19245,8 @@ in
|
|||||||
|
|
||||||
tbs = callPackage ../os-specific/linux/tbs { };
|
tbs = callPackage ../os-specific/linux/tbs { };
|
||||||
|
|
||||||
|
mbp2018-bridge-drv = callPackage ../os-specific/linux/mbp-modules/mbp2018-bridge-drv { inherit kernel; };
|
||||||
|
|
||||||
nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
|
nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
|
||||||
|
|
||||||
nvidiaPackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/nvidia-x11 { });
|
nvidiaPackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/nvidia-x11 { });
|
||||||
|
Loading…
Reference in New Issue
Block a user