From f3128af6fb8d1927dfd99907e1f48563b13d1bef Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 4 Aug 2024 18:55:41 +0100 Subject: [PATCH] plex-pass: 1.40.1.8120-6dc7f7fd8 -> 1.40.5.8796-3e374e32c --- nix/pkgs/plex-pass.nix | 6 +++--- nix/pkgs/updateplexpass.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/pkgs/plex-pass.nix b/nix/pkgs/plex-pass.nix index a3ab8bf064..87cb3fe5c0 100644 --- a/nix/pkgs/plex-pass.nix +++ b/nix/pkgs/plex-pass.nix @@ -4,10 +4,10 @@ { pkgs, ... }: let - version = "1.40.1.8120-6dc7f7fd8"; + version = "1.40.5.8796-3e374e32c"; src = pkgs.fetchurl { - 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"; + url = "https://downloads.plex.tv/plex-media-server-new/1.40.5.8796-3e374e32c/debian/plexmediaserver_1.40.5.8796-3e374e32c_amd64.deb"; + hash = "sha256:0vdf3cilghmi8gd18dw6d4qg6j71ikfp9lqnd2qy6jjw8a3m3jk8"; }; in (pkgs.plex.override { diff --git a/nix/pkgs/updateplexpass.sh b/nix/pkgs/updateplexpass.sh index a29335922e..f7beb80371 100755 --- a/nix/pkgs/updateplexpass.sh +++ b/nix/pkgs/updateplexpass.sh @@ -5,7 +5,7 @@ [ -z "$PLEX_PASS_TOKEN" ] && PLEX_PASS_TOKEN="$(vault kv get -field=token kv/apps/plex-pass)" VERSION_JSON_URL="https://plex.tv/pms/downloads/5.json?channel=plexpass&X-Plex-Token=${PLEX_PASS_TOKEN}" -alias jq="nix run depot.pkgs.jq -c jq" +alias jq="nix run -f '' pkgs.jq --" VERSION_JSON="$(curl "$VERSION_JSON_URL")" VERSION="$(jq -r '.computer.Linux.version' <<< "$VERSION_JSON")"