# SPDX-FileCopyrightText: 2020 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 { pkgs, ... }: let version = "1.31.2.6783-9209b39b4"; src = pkgs.fetchurl { url = "https://downloads.plex.tv/plex-media-server-new/1.31.2.6783-9209b39b4/debian/plexmediaserver_1.31.2.6783-9209b39b4_amd64.deb"; hash = "sha256:0sfqwgw20z6bn7r2jgi8nh7br8fwq75j71py7iidfhbxwwliph9m"; }; in (pkgs.plex.override { plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec { inherit version src; })); }).overrideAttrs (oldAttrs: { name = "plexmediaserver-${version}"; inherit version src; })