20 lines
616 B
Nix
20 lines
616 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ pkgs, ... }:
|
|
let
|
|
version = "1.40.5.8921-836b34c27";
|
|
src = pkgs.fetchurl {
|
|
url = "https://downloads.plex.tv/plex-media-server-new/1.40.5.8921-836b34c27/debian/plexmediaserver_1.40.5.8921-836b34c27_amd64.deb";
|
|
hash = "sha256:0fia2d6gxlxv1my5031wnp3ihc3knfra1yrwadz44khh03zkvxq7";
|
|
};
|
|
in
|
|
(pkgs.plex.override {
|
|
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
|
|
inherit version src;
|
|
}));
|
|
}).overrideAttrs (oldAttrs: {
|
|
name = "plexmediaserver-${version}";
|
|
inherit version src;
|
|
})
|