nixos-config/pkgs/default.nix
Simon Bruder eccea38759
mpv: Use youtube-dl’s default format
mpv overrides my custom format with `bestvideo+bestaudio/best`
(youtube-dl upstream default). This applies a patch (from upstream) that
adds a magic value to remove the override. Since home-manager’s mpv
module only supports overriding the mpv package in 21.05, it is done in
the overlay.

Fixes #39.
2021-03-01 17:30:58 +01:00

32 lines
970 B
Nix

self: super:
let
srcs = import ./srcs.nix;
in
{
bang-evaluator = import srcs.bang-evaluator { pkgs = self; };
bwrap-helper = super.callPackage ./bwrap-helper { };
osu-lazer = super.callPackage ./osu-lazer { inherit (super) osu-lazer; };
osu-lazer-sandbox = super.callPackage ./osu-lazer-sandbox { };
wordclock-dimmer = super.python3Packages.callPackage ./wordclock-dimmer { };
sbruder = super.recurseIntoAttrs {
imprint = super.callPackage ./imprint { };
};
aria2_exporter = import srcs.aria2_exporter { pkgs = self; };
# FIXME: 21.05: Move to home-manager module package attribute
mpv-unwrapped = super.mpv-unwrapped.overrideAttrs (o: o // {
patches = [
# FIXME: 21.05: Remove since it has mpv 0.33
(super.fetchpatch {
url = "https://github.com/mpv-player/mpv/commit/43c13e5ea23230edca38426d4a9eed049a70890e.patch";
sha256 = "0g73ws36cs2hfzqck6xiaimj5yd5hz68b4wf3qayyv4nrf5sz02c";
})
];
});
}