depot/nix/pkgs/plex-pass.nix

21 lines
616 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, ... }:
let
2024-03-01 19:40:17 +00:00
version = "1.40.1.8120-6dc7f7fd8";
src = pkgs.fetchurl {
2024-03-01 19:40:17 +00:00
url = "https://downloads.plex.tv/plex-media-server-new/1.40.1.8120-6dc7f7fd8/debian/plexmediaserver_1.40.1.8120-6dc7f7fd8_amd64.deb";
hash = "sha256:1jzjq911izi1k8s33ys9y497drd2n3sxlr3ljvkhlvv6vl92ndvg";
};
in
(pkgs.plex.override {
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
inherit version src;
}));
}).overrideAttrs (oldAttrs: {
name = "plexmediaserver-${version}";
inherit version src;
})