maintainers: remove email for amuckstot30 (#360059)
[NixPkgs.git] / pkgs / os-specific / linux / scx / default.nix
blob6e645f2f210eb6c6527775018185c7101932c638
2   lib,
3   callPackage,
4   fetchFromGitHub,
5 }:
6 let
7   scx-common = rec {
8     versionInfo = lib.importJSON ./version.json;
10     inherit (versionInfo.scx) version;
12     src = fetchFromGitHub {
13       owner = "sched-ext";
14       repo = "scx";
15       rev = "refs/tags/v${versionInfo.scx.version}";
16       inherit (versionInfo.scx) hash;
17     };
19     meta = {
20       homepage = "https://github.com/sched-ext/scx";
21       changelog = "https://github.com/sched-ext/scx/releases/tag/v${versionInfo.scx.version}";
22       license = lib.licenses.gpl2Only;
23       platforms = lib.platforms.linux;
24       badPlatforms = [ "aarch64-linux" ];
25       maintainers = with lib.maintainers; [ johnrtitor ];
26     };
27   };
29   schedulers = lib.mergeAttrsList [
30     { cscheds = import ./scx_cscheds.nix; }
31     { rustscheds = import ./scx_rustscheds.nix; }
32     { full = import ./scx_full.nix; }
33   ];
35 (lib.mapAttrs (name: scheduler: callPackage scheduler { inherit scx-common; }) schedulers)
36 // {
37   inherit scx-common;