nixpkgs/pkgs/os-specific/linux/sch_cake/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

34 lines
925 B
Nix

{ stdenv, lib, fetchFromGitHub, kernel }:
assert stdenv.lib.versionAtLeast kernel.version "4.4";
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;
};
}