nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-zen.nix

27 lines
653 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildLinux, ... } @ args:
2020-07-27 18:31:44 +02:00
let
2021-06-08 16:22:28 +02:00
version = "5.12.9";
2021-02-23 20:56:35 +01:00
suffix = "zen1";
2020-07-27 18:31:44 +02:00
in
buildLinux (args // {
modDirVersion = "${version}-${suffix}";
2020-07-27 18:31:44 +02:00
inherit version;
2020-10-29 09:15:05 +01:00
isZen = true;
2020-07-27 18:31:44 +02:00
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-${suffix}";
2021-06-08 16:22:28 +02:00
sha256 = "sha256-Sbe7pY/htLRRx5Qs78BpEzNCSIEsnZMj1+bkAftZdbQ=";
2020-07-27 18:31:44 +02:00
};
extraMeta = {
2021-06-08 16:22:28 +02:00
branch = "5.12/master";
2021-01-15 15:45:37 +01:00
maintainers = with lib.maintainers; [ atemu andresilva ];
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
2020-07-27 18:31:44 +02:00
};
2021-06-08 16:22:28 +02:00
} // (args.argsOverride or { }))