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