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-10-02 19:08:23 +00:00
|
|
|
version = "1.29.0.6244-819d3678c";
|
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-10-02 19:08:23 +00:00
|
|
|
hash = "sha256-iGMO6uuNm2c7UBZvA5dYaSxUrEQCL1tR9zLA3rZhBn4=";
|
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
|
|
|
})
|