Skip to content

Commit

Permalink
plex: 1.40.2.8395-c67dce28e -> 1.41.0.8994-f2c27da23
Browse files Browse the repository at this point in the history
  • Loading branch information
MayNiklas committed Oct 16, 2024
1 parent 1256ed5 commit 1ceeca5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/plex/raw.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
# server, and the FHS userenv and corresponding NixOS module should
# automatically pick up the changes.
stdenv.mkDerivation rec {
version = "1.40.2.8395-c67dce28e";
version = "1.41.0.8994-f2c27da23";
pname = "plexmediaserver";

# Fetch the source
src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl {
url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb";
sha256 = "sha256-ZJqbE9pgflqFVjiDqCED6K5KBk6KHSbkIQllF06jJVQ=";
sha256 = "118mqmqfpfskqa19869lg9riip64jz0c2jrvnkpdilvzzhy9ngwx";
} else fetchurl {
url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
sha256 = "sha256-gYRhQIf6RaXgFTaigFW1yJ7ndxRmOP6oJSNnr8o0EBM=";
sha256 = "10nis1hk3fc9bvgiz41x4gmgbzlz2cczz47a2x14liqxmiwqwl3v";
};

outputs = [ "out" "basedb" ];
Expand Down Expand Up @@ -74,10 +74,7 @@ stdenv.mkDerivation rec {
latestSha="$(nix-prefetch-url $dlUrl)"
# The script will not perform an update when the version attribute is up to date from previous platform run
# We need to clear it before each run
update-source-version plexRaw 0 $(yes 0 | head -64 | tr -d "\n") --system=$platform
update-source-version plexRaw "$latestVersion" "$latestSha" --system=$platform
update-source-version plexRaw "$latestVersion" "$latestSha" --system=$platform --ignore-same-version
done
'';

Expand Down

0 comments on commit 1ceeca5

Please sign in to comment.