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.32.7.7571-13cdc68dc";
|
|
src = pkgs.fetchurl {
|
|
url = "https://downloads.plex.tv/plex-media-server-new/1.32.7.7571-13cdc68dc/debian/plexmediaserver_1.32.7.7571-13cdc68dc_amd64.deb";
|
|
hash = "sha256:1cak9p3x5p1yh76f0zfqhvymi6r0bm877gssrl7c7y42k3984xcz";
|
|
};
|
|
in
|
|
(pkgs.plex.override {
|
|
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
|
|
inherit version src;
|
|
}));
|
|
}).overrideAttrs (oldAttrs: {
|
|
name = "plexmediaserver-${version}";
|
|
inherit version src;
|
|
})
|