depot/nix/pkgs/plex-pass.nix

20 lines
616 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, ... }:
let
version = "1.41.3.9314-a0bfb8370";
src = pkgs.fetchurl {
url = "https://downloads.plex.tv/plex-media-server-new/1.41.3.9314-a0bfb8370/debian/plexmediaserver_1.41.3.9314-a0bfb8370_amd64.deb";
hash = "sha256:0cpwpig0wmb8p6d3l1izp06dyv5ry2qd7vjq7d6dn080099pmvcj";
};
in
(pkgs.plex.override {
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
inherit version src;
}));
}).overrideAttrs (oldAttrs: {
name = "plexmediaserver-${version}";
inherit version src;
})