plex: 1.3.3.3148 -> 1.5.5.3634

This commit is contained in:
Peter Jones 2017-03-20 12:22:58 -07:00
parent 2090aa4f65
commit 0ac07ac531
No known key found for this signature in database
GPG Key ID: 9DAFAA8D01941E49

View File

@ -6,9 +6,9 @@
let
plexPass = throw "Plex pass has been removed at upstream's request; please unset nixpkgs.config.plex.pass";
plexpkg = if enablePlexPass then plexPass else {
version = "1.3.3.3148";
vsnHash = "b38628e";
sha256 = "1dx8z27l1dwigr3ipcdzn25hnj0206255ihxh9rnh2qchrcqmb5y";
version = "1.5.5.3634";
vsnHash = "995f1dead";
sha256 = "0zk2zv7r4mf582gfbv4ahxzl8pbspzkf3514qmqhhx2z4grng49h";
};
in stdenv.mkDerivation rec {
@ -36,7 +36,14 @@ in stdenv.mkDerivation rec {
# Now we need to patch up the executables and libraries to work on Nix.
# Side note: PLEASE don't put spaces in your binary names. This is stupid.
for bin in "Plex Media Server" "Plex DLNA Server" "Plex Media Scanner" "Plex Script Host" "Plex Transcoder" "Plex Relay"; do
for bin in "Plex Media Server" \
"Plex DLNA Server" \
"Plex Media Scanner" \
"Plex Media Server Tests" \
"Plex Relay" \
"Plex Script Host" \
"Plex Transcoder" \
"Plex Tuner Service" ; do
patchelf --set-interpreter "${glibc.out}/lib/ld-linux-x86-64.so.2" "$out/usr/lib/plexmediaserver/$bin"
patchelf --set-rpath "$out/usr/lib/plexmediaserver" "$out/usr/lib/plexmediaserver/$bin"
done
@ -67,7 +74,7 @@ in stdenv.mkDerivation rec {
homepage = http://plex.tv/;
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with stdenv.lib.maintainers; [ colemickens forkk thoughtpolice ];
maintainers = with stdenv.lib.maintainers; [ colemickens forkk thoughtpolice pjones ];
description = "Media / DLNA server";
longDescription = ''
Plex is a media server which allows you to store your media and play it