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-05-17 02:12:24 +00:00
|
|
|
version = "1.26.1.5798-99a4a6ac9";
|
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-05-17 02:12:24 +00:00
|
|
|
hash = "sha256-Chu4IULIvkmfMEV0LSg50i6usZJZI3UWOgCHQakbhaY=";
|
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
|
|
|
})
|