Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
|
||||
|
||||
let
|
||||
version = "5.11.12";
|
||||
version = "5.11.13";
|
||||
suffix = "xanmod1-cacule";
|
||||
in
|
||||
buildLinux (args // rec {
|
||||
@@ -12,7 +12,7 @@ in
|
||||
owner = "xanmod";
|
||||
repo = "linux";
|
||||
rev = modDirVersion;
|
||||
sha256 = "sha256-omRZ9oAmW3mauUolPf/lgMFMwUCYU4YaZ+OS75Ag+lM=";
|
||||
sha256 = "sha256-LUbkccAfDS0/FnNhHn64bkC8qwBD0NKcdZRzNoSw4uA=";
|
||||
extraPostFetch = ''
|
||||
rm $out/.config
|
||||
'';
|
||||
|
||||
28
pkgs/os-specific/linux/mdevd/default.nix
Normal file
28
pkgs/os-specific/linux/mdevd/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib, skawarePackages }:
|
||||
|
||||
with skawarePackages;
|
||||
|
||||
buildPackage {
|
||||
pname = "mdevd";
|
||||
version = "0.1.3.0";
|
||||
sha256 = "0spvw27xxd0m6j8bl8xysmgsx18fl769smr6dsh25s2d5h3sp2dy";
|
||||
|
||||
description = "mdev-compatible Linux hotplug manager daemon";
|
||||
platforms = lib.platforms.linux;
|
||||
|
||||
outputs = [ "bin" "out" "dev" "doc" ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
|
||||
"--with-include=${skalibs.dev}/include"
|
||||
"--with-lib=${skalibs.lib}/lib"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# remove all mdevd executables from build directory
|
||||
rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
|
||||
|
||||
mv doc $doc/share/doc/mdevd/html
|
||||
mv examples $doc/share/doc/mdevd/examples
|
||||
'';
|
||||
}
|
||||
@@ -8,12 +8,12 @@ let
|
||||
_kernel = kernel;
|
||||
pythonEnv = python3.withPackages (ps: with ps; [ six ]);
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "2.14.1";
|
||||
version = "2.14.2";
|
||||
pname = "openvswitch";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.openvswitch.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-GAttQsCrSybyH1i4vzszdiA9dHWqeo7xUTZVFMNQiP4=";
|
||||
sha256 = "sha256-ZfQg+VTiUNiV+y2yKhMuHLVgvF4rkFHoNFETSBCOWXo=";
|
||||
};
|
||||
|
||||
kernel = optional (_kernel != null) _kernel.dev;
|
||||
|
||||
@@ -7,12 +7,12 @@ with lib;
|
||||
let
|
||||
_kernel = kernel;
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "2.5.9";
|
||||
version = "2.5.12";
|
||||
pname = "openvswitch";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.openvswitch.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "0iv0ncwl6s4qyyb655yj5xvqrjr1zbymmab96q259wa09xnyw7b7";
|
||||
sha256 = "0a8wa1lj5p28x3vq0yaxjhqmppp4hvds6hhm0j3czpp8mc09fsfq";
|
||||
};
|
||||
|
||||
patches = [ ./patches/lts-ssl.patch ];
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user