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