# SPDX-FileCopyrightText: 2020 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 { pkgs, ... }: let version = "1.26.1.5798-99a4a6ac9"; src = pkgs.fetchurl { url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; hash = "sha256-Chu4IULIvkmfMEV0LSg50i6usZJZI3UWOgCHQakbhaY="; }; in (pkgs.plex.override { plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec { inherit version src; })); }).overrideAttrs (oldAttrs: { name = "plexmediaserver-${version}"; inherit version src; })