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