forked from mirrors/nixpkgs
rtl8192eu: init at 4.4.1
This commit is contained in:
parent
ef9666e025
commit
89d660f7f1
|
@ -705,6 +705,7 @@
|
|||
treemo = "Matthieu Chevrier <matthieu.chevrier@treemo.fr>";
|
||||
trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
|
||||
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
|
||||
troydm = "Dmitry Geurkov <d.geurkov@gmail.com>";
|
||||
tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
|
||||
ttuegel = "Thomas Tuegel <ttuegel@mailbox.org>";
|
||||
tv = "Tomislav Viljetić <tv@shackspace.de>";
|
||||
|
|
39
pkgs/os-specific/linux/rtl8192eu/default.nix
Normal file
39
pkgs/os-specific/linux/rtl8192eu/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ stdenv, lib, fetchFromGitHub, kernel }:
|
||||
|
||||
with lib;
|
||||
|
||||
let modDestDir = "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/net/wireless/realtek/rtl8192eu";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "rtl8192eu-${kernel.version}-${version}";
|
||||
version = "4.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mange";
|
||||
repo = "rtl8192eu-linux-driver";
|
||||
rev = "4094004";
|
||||
sha256 = "0rgcsp8bd5i5ik9b35qipdhq0xd8pva8kdijixxfaxm4vw6kbrvr";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p ${modDestDir}
|
||||
find . -name '*.ko' -exec cp --parents {} ${modDestDir} \;
|
||||
find ${modDestDir} -name '*.ko' -exec xz -f {} \;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Realtek rtl8192eu driver";
|
||||
homepage = https://github.com/Mange/rtl8192eu-linux-driver;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with maintainers; [ troydm ];
|
||||
};
|
||||
}
|
|
@ -13129,6 +13129,8 @@ with pkgs;
|
|||
|
||||
ply = callPackage ../os-specific/linux/ply { };
|
||||
|
||||
rtl8192eu = callPackage ../os-specific/linux/rtl8192eu { };
|
||||
|
||||
rtl8723bs = callPackage ../os-specific/linux/rtl8723bs { };
|
||||
|
||||
rtl8812au = callPackage ../os-specific/linux/rtl8812au { };
|
||||
|
|
Loading…
Reference in a new issue