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
|
2024-03-01 19:40:17 +00:00
|
|
|
version = "1.40.1.8120-6dc7f7fd8";
|
2021-04-11 02:13:51 +00:00
|
|
|
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";
|
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
|
|
|
})
|