Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: mediamtx 1.16.2 -> 1.16.3 https://repology.org/project/mediamtx/versions attrpath: mediamtx Checking auto update branch... No auto update branch exists Old version 1.16.2" not present in master derivation file with contents: { lib, buildGo126Module, fetchFromGitHub, fetchurl, nixosTests, }: let hlsJs = fetchurl { url = "https://cdn.jsdelivr.net/npm/hls.js@v1.6.15/dist/hls.min.js"; hash = "sha256-QTqD4rsMd+0L8L4QXVOdF+9F39mEoLE+zTsUqQE4OTg="; }; in buildGo126Module (finalAttrs: { pname = "mediamtx"; # check for hls.js version updates in internal/servers/hls/hlsjsdownloader/VERSION version = "1.16.3"; src = fetchFromGitHub { owner = "bluenviron"; repo = "mediamtx"; tag = "v${finalAttrs.version}"; hash = "sha256-TjeNm6gfhw+5IWtlojdO24k/N8oDZddFgQY7/e+dlPY="; }; vendorHash = "sha256-JHM7yNUaT1UjK0t97ppxW9dTAwcSdF8gmPat5+k3uzo="; postPatch = '' cp ${hlsJs} internal/servers/hls/hls.min.js echo "v${finalAttrs.version}" > internal/core/VERSION # disable binary-only rpi camera support substituteInPlace internal/staticsources/rpicamera/camera_other.go \ --replace-fail '!linux || (!arm && !arm64)' 'linux || !linux' substituteInPlace internal/staticsources/rpicamera/{params_serialize,pipe}.go \ --replace-fail '(linux && arm) || (linux && arm64)' 'linux && !linux' substituteInPlace internal/staticsources/rpicamera/camera_arm32_.go \ --replace-fail 'linux && arm' 'linux && !linux' substituteInPlace internal/staticsources/rpicamera/camera_arm64_.go \ --replace-fail 'linux && arm64' 'linux && !linux' substituteInPlace internal/staticsources/rpicamera/camera_arm_.go \ --replace-fail '(linux && arm) || (linux && arm64)' 'linux && !linux' ''; subPackages = [ "." ]; # Tests need docker doCheck = false; passthru.tests = { inherit (nixosTests) mediamtx; }; meta = { description = "SRT, WebRTC, RTSP, RTMP, LL-HLS media server and media proxy"; inherit (finalAttrs.src.meta) homepage; license = lib.licenses.mit; mainProgram = "mediamtx"; maintainers = with lib.maintainers; [ fpletz ]; }; })