2020-06-07 14:03:12 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-05-06 09:02:00 +00:00
|
|
|
{ pkgs, ... }:
|
2021-04-11 02:13:51 +00:00
|
|
|
let
|
2022-03-25 02:11:03 +00:00
|
|
|
version = "1.25.8.5663-e071c3d62";
|
2021-04-11 02:13:51 +00:00
|
|
|
src = pkgs.fetchurl {
|
|
|
|
url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
|
2022-03-25 02:11:03 +00:00
|
|
|
hash = "sha256-baOofe+7PZfLhwIXrB1ibKkkEJRVivgGHDN4phlg57Q=";
|
2021-04-11 02:13:51 +00:00
|
|
|
};
|
|
|
|
in
|
2020-05-06 09:02:00 +00:00
|
|
|
(pkgs.plex.override {
|
|
|
|
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
|
2021-04-11 02:13:51 +00:00
|
|
|
inherit version src;
|
2020-05-06 09:02:00 +00:00
|
|
|
}));
|
2021-04-11 02:13:51 +00:00
|
|
|
}).overrideAttrs (oldAttrs: {
|
|
|
|
name = "plexmediaserver-${version}";
|
|
|
|
inherit version src;
|
2020-05-06 09:02:00 +00:00
|
|
|
})
|