2022-06-18 22:00:59 +03:00
|
|
|
let
|
|
|
|
tools = import ./lib/tools.nix;
|
|
|
|
pins = import ./sources;
|
2023-06-06 01:59:36 +03:00
|
|
|
|
2021-06-05 23:59:06 +03:00
|
|
|
in with tools;
|
|
|
|
super: rec {
|
2023-12-03 00:44:11 +02:00
|
|
|
acme-dns = patch super.acme-dns "patches/base/acme-dns";
|
|
|
|
|
2023-12-01 18:45:27 +02:00
|
|
|
cachix = patch super.cachix "patches/base/cachix";
|
|
|
|
|
2023-07-23 23:23:17 +03:00
|
|
|
forgejo = patch super.forgejo "patches/base/forgejo";
|
|
|
|
|
2023-09-06 03:01:47 +03:00
|
|
|
garage = patch super.garage_0_8 "patches/base/garage";
|
2023-08-27 19:33:12 +03:00
|
|
|
|
2024-05-17 14:56:06 +03:00
|
|
|
jellyfin = super.jellyfin.override {
|
2024-06-29 23:35:00 +03:00
|
|
|
jellyfin-ffmpeg = super.ffmpeg.override {
|
2023-06-20 17:38:36 +03:00
|
|
|
withMfx = true;
|
|
|
|
};
|
2024-05-17 14:56:06 +03:00
|
|
|
};
|
2023-06-20 17:38:36 +03:00
|
|
|
|
2022-05-27 19:30:02 +03:00
|
|
|
jre17_standard = let
|
|
|
|
jre = super.jre_minimal.override {
|
|
|
|
jdk = super.jdk17_headless;
|
|
|
|
modules = [
|
|
|
|
"java.se"
|
|
|
|
"jdk.naming.dns"
|
|
|
|
"jdk.crypto.ec"
|
|
|
|
"jdk.zipfs"
|
2022-05-27 19:37:55 +03:00
|
|
|
"jdk.security.auth"
|
2022-05-27 19:52:56 +03:00
|
|
|
"jdk.unsupported"
|
|
|
|
"jdk.xml.dom"
|
|
|
|
"jdk.sctp"
|
2022-05-31 11:15:54 +03:00
|
|
|
"jdk.management"
|
2022-10-02 18:41:46 +03:00
|
|
|
"jdk.dynalink"
|
2022-05-27 19:30:02 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
in jre // { meta = jre.meta // { inherit (super.jdk17_headless.meta) platforms; }; };
|
2022-06-07 19:36:37 +03:00
|
|
|
|
2023-06-10 17:34:02 +03:00
|
|
|
kanidm = patch super.kanidm "patches/base/kanidm";
|
|
|
|
|
2024-06-04 16:11:41 +03:00
|
|
|
keycloak = super.keycloak.override {
|
2022-07-31 23:36:07 +03:00
|
|
|
jre = jre17_standard;
|
|
|
|
};
|
|
|
|
|
2023-08-23 22:20:30 +03:00
|
|
|
postgresql = super.postgresql_14;
|
|
|
|
|
2022-08-04 14:50:42 +03:00
|
|
|
prometheus-jitsi-exporter = patch super.prometheus-jitsi-exporter "patches/base/prometheus-jitsi-exporter";
|
|
|
|
|
2023-11-02 00:12:22 +02:00
|
|
|
s3ql = (patch super.s3ql "patches/base/s3ql").overrideAttrs (old: {
|
|
|
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
2024-06-06 00:38:15 +03:00
|
|
|
super.python3Packages.packaging
|
2023-11-02 00:12:22 +02:00
|
|
|
super.python3Packages.systemd
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-11-23 00:54:50 +02:00
|
|
|
tempo = (super.tempo.override { buildGoModule = super.buildGo121Module; }).overrideAttrs (_: {
|
2022-06-18 22:00:59 +03:00
|
|
|
version = builtins.substring 1 (-1) pins.tempo.version;
|
2022-07-25 12:58:20 +03:00
|
|
|
src = super.npins.mkSource pins.tempo;
|
2022-06-18 22:00:59 +03:00
|
|
|
subPackages = [ "cmd/tempo" ];
|
|
|
|
});
|
2021-06-05 23:59:06 +03:00
|
|
|
}
|