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:
commit
d3da67a1ac
1 changed files with 10 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue