|
|
|
@ -1,24 +1,16 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, kernel, bc }: |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, kernel, bc }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "rtl88x2bu-${kernel.version}-${version}"; |
|
|
|
|
version = "unstable-2020-08-20"; |
|
|
|
|
version = "unstable-2021-01-21"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "cilynx"; |
|
|
|
|
repo = "rtl88x2BU"; |
|
|
|
|
rev = "a1c53f43fb9995fbe3ad26567079d6384626d350"; |
|
|
|
|
sha256 = "1cby66jg511zxs1i535mflafhryla9764mnrzacxppimxpancv3s"; |
|
|
|
|
rev = "48e7c19c92a77554403e1347447f8e2cfd780228"; |
|
|
|
|
sha256 = "0nw2kgblpq6qlr43gbfxqvq0c83664f4czfwzsyfjr47rj00iyq7"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
# https://github.com/cilynx/rtl88x2bu/pull/58 |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://github.com/cilynx/rtl88x2bu/pull/58.patch"; |
|
|
|
|
sha256 = "0md9cv61nx85pk3v60y9wviyb9fgj54q9m26wiv3dc7smr70h8l6"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
hardeningDisable = [ "pic" ]; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ bc ]; |
|
|
|
@ -39,7 +31,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Realtek rtl88x2bu driver"; |
|
|
|
|
homepage = "https://github.com/cilynx/rtl88x2bu"; |
|
|
|
|
license = licenses.gpl2; |
|
|
|
|
license = licenses.gpl2Only; |
|
|
|
|
platforms = platforms.linux; |
|
|
|
|
maintainers = [ maintainers.ralith ]; |
|
|
|
|
}; |
|
|
|
|