20 lines
575 B
Nix
20 lines
575 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ pkgs, ... }:
|
|
let
|
|
version = "1.21.4.4054-bab510e86";
|
|
src = pkgs.fetchurl {
|
|
url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
|
|
sha1 = "307c1af0c1db7b873163a7a5a4b729c57497971f";
|
|
};
|
|
in
|
|
(pkgs.plex.override {
|
|
plexRaw = (pkgs.plexRaw.overrideAttrs (oldAttrs: rec {
|
|
inherit version src;
|
|
}));
|
|
}).overrideAttrs (oldAttrs: {
|
|
name = "plexmediaserver-${version}";
|
|
inherit version src;
|
|
})
|