diff --git a/pkgs/applications/networking/instant-messengers/bluejeans/default.nix b/pkgs/applications/networking/instant-messengers/bluejeans/default.nix deleted file mode 100644 index 62655ada43a9f..0000000000000 --- a/pkgs/applications/networking/instant-messengers/bluejeans/default.nix +++ /dev/null @@ -1,137 +0,0 @@ -{ stdenv -, lib -, fetchurl -, rpmextract -, libnotify -, libuuid -, cairo -, cups -, pango -, fontconfig -, udev -, dbus -, gtk3 -, atk -, at-spi2-atk -, expat -, gdk-pixbuf -, freetype -, nspr -, glib -, nss -, libX11 -, libXrandr -, libXrender -, libXtst -, libXdamage -, libxcb -, libXcursor -, libXi -, libXext -, libXfixes -, libXft -, libXcomposite -, libXScrnSaver -, alsa-lib -, pulseaudio -, makeWrapper -, xdg-utils -}: - -let - getFirst = n: v: builtins.concatStringsSep "." (lib.take n (lib.splitString "." v)); -in - -stdenv.mkDerivation rec { - pname = "bluejeans"; - version = "2.32.1.3"; - - src = fetchurl { - url = "https://swdl.bluejeans.com/desktop-app/linux/${getFirst 3 version}/BlueJeans_${version}.rpm"; - sha256 = "sha256-lsUS7JymCMOa5wlWJOwLFm4KRnAYixi9Kk5CYHB17Ac="; - }; - - nativeBuildInputs = [ rpmextract makeWrapper ]; - - libPath = - lib.makeLibraryPath - [ - libnotify - libuuid - cairo - cups - pango - fontconfig - gtk3 - atk - at-spi2-atk - expat - gdk-pixbuf - dbus - (lib.getLib udev) - freetype - nspr - glib - stdenv.cc.cc - nss - libX11 - libXrandr - libXrender - libXtst - libXdamage - libxcb - libXcursor - libXi - libXext - libXfixes - libXft - libXcomposite - libXScrnSaver - alsa-lib - pulseaudio - ]; - - localtime64_stub = ./localtime64_stub.c; - - buildCommand = '' - mkdir -p $out/bin/ - cd $out - rpmextract $src - mv usr/share share - rmdir usr - - patchelf \ - --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ - --replace-needed libudev.so.0 libudev.so.1 \ - opt/BlueJeans/bluejeans-v2 - - patchelf \ - --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ - opt/BlueJeans/resources/BluejeansHelper - - cc $localtime64_stub -shared -o "${placeholder "out"}"/opt/BlueJeans/liblocaltime64_stub.so - - # make xdg-open overrideable at runtime - makeWrapper $out/opt/BlueJeans/bluejeans-v2 $out/bin/bluejeans \ - --set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/opt/BlueJeans \ - --set LD_PRELOAD "$out"/opt/BlueJeans/liblocaltime64_stub.so \ - --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} - - substituteInPlace "$out"/share/applications/bluejeans-v2.desktop \ - --replace "/opt/BlueJeans/bluejeans-v2" "$out/bin/bluejeans" - - patchShebangs "$out" - ''; - - passthru.updateScript = ./update.sh; - - meta = with lib; { - description = "Video, audio, and web conferencing that works together with the collaboration tools you use every day"; - homepage = "https://www.bluejeans.com"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = [ ]; - platforms = [ "x86_64-linux" ]; - }; -} - diff --git a/pkgs/applications/networking/instant-messengers/bluejeans/localtime64_stub.c b/pkgs/applications/networking/instant-messengers/bluejeans/localtime64_stub.c deleted file mode 100644 index 87c2fa11714c1..0000000000000 --- a/pkgs/applications/networking/instant-messengers/bluejeans/localtime64_stub.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include - -void *localtime64() { - fprintf(stderr, "nixpkgs: call into localtime64_r\n"); - abort(); -} - -void *localtime64_r() { - fprintf(stderr, "nixpkgs: call into localtime64_r\n"); - abort(); -} diff --git a/pkgs/applications/networking/instant-messengers/bluejeans/update.sh b/pkgs/applications/networking/instant-messengers/bluejeans/update.sh deleted file mode 100755 index 3bb7d309e8755..0000000000000 --- a/pkgs/applications/networking/instant-messengers/bluejeans/update.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -p curl pup common-updater-scripts - -set -eu -o pipefail - -version="$(curl -Ls https://www.bluejeans.com/downloads | \ - pup 'a[href$=".rpm"] attr{href}' | \ - # output contains app and events - grep "desktop-app" | \ - awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')" - -update-source-version bluejeans-gui "$version" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d3c648bc6d29a..496efb4d29a4d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13433,8 +13433,6 @@ with pkgs; gtk = gtk3; }; - bluejeans-gui = callPackage ../applications/networking/instant-messengers/bluejeans { }; - breezy = with python3Packages; toPythonApplication breezy; cage = callPackage ../applications/window-managers/cage {