mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
linuxPackages.sch_cake: init at 2017-01-28
This commit is contained in:
parent
5bd6331b29
commit
6fd27c7c38
32
pkgs/os-specific/linux/sch_cake/default.nix
Normal file
32
pkgs/os-specific/linux/sch_cake/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, lib, fetchFromGitHub, kernel }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "sch_cake-2017-01-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dtaht";
|
||||
repo = "sch_cake";
|
||||
rev = "9789742cfc596d48583ba4cdbc8f38d026121fa6";
|
||||
sha256 = "03xgkqrv8d9q8rr21awbld0kvwglyinpm71nk16gvm4rd37c5h76";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
makeFlags = [
|
||||
"KERNEL_VERSION=${kernel.version}"
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -v -m 644 -D sch_cake.ko \
|
||||
$out/lib/modules/${kernel.modDirVersion}/kernel/net/sched/sch_cake.ko
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The cake qdisc scheduler";
|
||||
homepage = "https://www.bufferbloat.net/projects/codel/wiki/Cake/";
|
||||
license = with licenses; [ bsd3 gpl2 ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -11484,6 +11484,8 @@ with pkgs;
|
||||
|
||||
seturgent = callPackage ../os-specific/linux/seturgent { };
|
||||
|
||||
sch_cake = callPackage ../os-specific/linux/sch_cake { };
|
||||
|
||||
inherit (callPackage ../os-specific/linux/spl {
|
||||
configFile = "kernel";
|
||||
inherit kernel;
|
||||
|
Loading…
Reference in New Issue
Block a user