2021-05-01 13:15:32 +02:00
|
|
|
final: prev:
|
2021-02-07 21:00:09 +01:00
|
|
|
let
|
2021-05-01 13:15:32 +02:00
|
|
|
inherit (prev) callPackage;
|
2021-02-07 21:00:09 +01:00
|
|
|
srcs = import ./srcs.nix;
|
|
|
|
in
|
|
|
|
{
|
2021-05-01 13:15:32 +02:00
|
|
|
bang-evaluator = import srcs.bang-evaluator { pkgs = final; };
|
2021-02-07 21:00:09 +01:00
|
|
|
|
2021-03-20 21:10:09 +01:00
|
|
|
bwrap-helper = callPackage ./bwrap-helper { };
|
2021-01-07 17:28:08 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
osu-lazer = callPackage ./osu-lazer { inherit (prev) osu-lazer; };
|
2021-03-20 21:10:09 +01:00
|
|
|
osu-lazer-sandbox = callPackage ./osu-lazer-sandbox { };
|
2021-01-31 19:47:54 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
wordclock-dimmer = prev.python3Packages.callPackage ./wordclock-dimmer { };
|
2021-02-14 19:48:50 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
sbruder = prev.recurseIntoAttrs {
|
2021-03-20 21:10:09 +01:00
|
|
|
imprint = callPackage ./imprint { };
|
2021-02-14 19:48:50 +01:00
|
|
|
};
|
2021-02-20 12:36:46 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
aria2_exporter = import srcs.aria2_exporter { pkgs = final; };
|
2021-03-01 17:30:58 +01:00
|
|
|
|
2021-03-05 19:49:44 +01:00
|
|
|
# adapted nixpkgs upstream but changed to buildGoModule and updated to
|
|
|
|
# version that works in my setup
|
2021-03-20 21:10:09 +01:00
|
|
|
prometheus-fritzbox-exporter = callPackage ./prometheus-fritzbox-exporter { };
|
2021-03-05 19:49:44 +01:00
|
|
|
|
2021-03-01 17:30:58 +01:00
|
|
|
# FIXME: 21.05: Move to home-manager module package attribute
|
2021-05-01 13:15:32 +02:00
|
|
|
mpv-unwrapped = prev.mpv-unwrapped.overrideAttrs (o: o // {
|
2021-03-01 17:30:58 +01:00
|
|
|
patches = [
|
|
|
|
# FIXME: 21.05: Remove since it has mpv 0.33
|
2021-05-01 13:15:32 +02:00
|
|
|
(prev.fetchpatch {
|
2021-03-01 17:30:58 +01:00
|
|
|
url = "https://github.com/mpv-player/mpv/commit/43c13e5ea23230edca38426d4a9eed049a70890e.patch";
|
|
|
|
sha256 = "0g73ws36cs2hfzqck6xiaimj5yd5hz68b4wf3qayyv4nrf5sz02c";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
2021-03-07 20:25:15 +01:00
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
mpvScripts = (prev.mpvScripts or { }) // {
|
2021-03-20 21:10:09 +01:00
|
|
|
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
|
2021-03-20 21:07:37 +01:00
|
|
|
};
|
|
|
|
|
2021-03-07 20:25:15 +01:00
|
|
|
# TODO: Remove patch once mako > 1.4.1 is released and in nixpkgs
|
2021-05-01 13:15:32 +02:00
|
|
|
mako = prev.mako.overrideAttrs (o: o // {
|
2021-03-07 20:25:15 +01:00
|
|
|
patches = [
|
|
|
|
# Adds makoctl set
|
2021-05-01 13:15:32 +02:00
|
|
|
(prev.fetchpatch {
|
2021-03-07 20:25:15 +01:00
|
|
|
url = "https://github.com/emersion/mako/commit/782ef66b04d5d927fe19254be175e0b5ddff343f.patch";
|
|
|
|
sha256 = "1qjaxhf11fyysmi9l8vwrz2vag3lcbllx8y8v2fgg3p52a7cwdjs";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
2021-04-18 10:40:33 +02:00
|
|
|
|
|
|
|
cyanrip = callPackage ./cyanrip { };
|
2021-04-23 08:26:29 +02:00
|
|
|
|
|
|
|
# TODO: Remove when pavucontrol > 4.0 is released
|
2021-05-01 13:15:32 +02:00
|
|
|
pavucontrol = prev.pavucontrol.overrideAttrs (o: o // {
|
2021-04-23 08:26:29 +02:00
|
|
|
patches = [
|
|
|
|
# This fixes context menus on wayland
|
|
|
|
# Bug report: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/63
|
|
|
|
# Merge Request: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/20
|
2021-05-01 13:15:32 +02:00
|
|
|
(prev.fetchpatch {
|
2021-04-23 08:26:29 +02:00
|
|
|
url = "https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/ae278b8643cf1089f66df18713c8154208d9a505.patch";
|
|
|
|
sha256 = "066vhxjz6gmi2sp2n4pa1cdsxjnq6yml5js094g5n7ld34p84dpj";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
2021-04-30 15:56:23 +02:00
|
|
|
|
|
|
|
# adapted from https://github.com/NixOS/nixpkgs/pull/85790
|
|
|
|
# TODO: Remove when memtest86+ ≥ 5.31b is in nixpkgs
|
2021-05-01 13:15:32 +02:00
|
|
|
memtest86plus = prev.memtest86plus.overrideAttrs (o: o // rec {
|
2021-04-30 15:56:23 +02:00
|
|
|
version = "5.31b";
|
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
src = prev.fetchurl {
|
2021-04-30 15:56:23 +02:00
|
|
|
url = "https://www.memtest.org/download/${version}/memtest86+-${version}.tar.gz";
|
|
|
|
sha256 = "028zrch87ggajlb5xx1c2ab85ggl9qldpibf45735sy0haqzyiki";
|
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = null;
|
|
|
|
|
|
|
|
buildFlags = [ ];
|
|
|
|
|
2021-05-01 13:15:32 +02:00
|
|
|
doCheck = prev.stdenv.isi686;
|
2021-04-30 15:56:23 +02:00
|
|
|
checkTarget = "run_self_test";
|
|
|
|
});
|
2021-01-07 17:09:22 +01:00
|
|
|
}
|