0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00

invidious: fix playback for proxied video streaming (#360926)

This commit is contained in:
Gaétan Lepage 2024-12-02 13:28:28 +01:00 committed by GitHub
commit d3da67a1ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@
callPackage,
crystal,
fetchFromGitHub,
fetchpatch,
librsvg,
pkg-config,
libxml2,
@ -86,6 +87,15 @@ crystal.buildCrystalPackage rec {
sqlite
];
patches = [
# Fix proxied video streaming: https://github.com/iv-org/invidious/pull/4992
(fetchpatch {
name = "invidious-fix-video-proxy.patch";
url = "https://github.com/iv-org/invidious/compare/aa33d9b7ec5a41867c256542653ad8465fe22e7f~1...3ac8978e96069e58a02e91fc29bf52b8fc651d5c.patch";
hash = "sha256-xENsVRfEE9ACLiniOgGMDfdC0ZtJge1e1Lak2orLJro=";
})
];
format = "crystal";
shardsFile = ./shards.nix;
crystalBinaries.invidious = {