mediamtx: 1.8.5 -> 1.9.0

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
R. Ryantm 2024-08-26 17:22:28 +00:00 committed by Franz Pletz
parent 28d45487fa
commit a07db3ad1c
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -8,23 +8,23 @@
let
hlsJs = fetchurl {
url = "https://cdn.jsdelivr.net/npm/hls.js@v1.5.13/dist/hls.min.js";
hash = "sha256-5XU7EPxl6uNfIYg+aE0ixDzmbelo01FmeSWFubij8aI=";
url = "https://cdn.jsdelivr.net/npm/hls.js@v1.5.15/dist/hls.min.js";
hash = "sha256-qRwhj9krOcLJKbGghAC8joXfNKXUdN7OkgEDosUWdd8=";
};
in
buildGoModule rec {
pname = "mediamtx";
# check for hls.js version updates in internal/servers/hls/hlsjsdownloader/VERSION
version = "1.8.5";
version = "1.9.0";
src = fetchFromGitHub {
owner = "bluenviron";
repo = pname;
rev = "v${version}";
hash = "sha256-wBavNhyscjWzgz+iwY2uB2vI8z0sWdfMM9Zpwi3obm4=";
hash = "sha256-iCUCQLMWB0cH9SuudP1KvSD1X58hvYgE30nIh2FpKlY=";
};
vendorHash = "sha256-UQM1MFDhIo2NkxHvr054SB0YzjP/LHDeS9An0k9Q6Ls=";
vendorHash = "sha256-TiI02M6k1zN/iWJntOfc9EY5xFo3ESOtdDSumxYmSU0=";
postPatch = ''
cp ${hlsJs} internal/servers/hls/hls.min.js