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
2023-10-12 22:34:30 +00:00
version = "1.32.7.7571-13cdc68dc";
src = pkgs.fetchurl {
2023-10-12 22:34:30 +00:00
url = "https://downloads.plex.tv/plex-media-server-new/1.32.7.7571-13cdc68dc/debian/plexmediaserver_1.32.7.7571-13cdc68dc_amd64.deb";
hash = "sha256:1cak9p3x5p1yh76f0zfqhvymi6r0bm877gssrl7c7y42k3984xcz";
};
in
(pkgs.plex.override {
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
inherit version src;
}));
}).overrideAttrs (oldAttrs: {
name = "plexmediaserver-${version}";
inherit version src;
})