Commit 2acf7013 authored by Martin Joerg's avatar Martin Joerg
Browse files

skypeforlinux: nixfmt

parent 5977c531
Loading
Loading
Loading
Loading
+96 −56
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, dpkg
, alsa-lib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk-pixbuf, glib, glibc, gnome-keyring
, gtk3, libappindicator-gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, wrapGAppsHook3, xorg
, at-spi2-atk, libuuid, at-spi2-core, libdrm, mesa, libxkbcommon, libxshmfence }:
{
  lib,
  stdenv,
  fetchurl,
  dpkg,
  alsa-lib,
  atk,
  cairo,
  cups,
  curl,
  dbus,
  expat,
  fontconfig,
  freetype,
  gdk-pixbuf,
  glib,
  glibc,
  gnome-keyring,
  gtk3,
  libappindicator-gtk3,
  libnotify,
  libpulseaudio,
  libsecret,
  libv4l,
  nspr,
  nss,
  pango,
  systemd,
  wrapGAppsHook3,
  xorg,
  at-spi2-atk,
  libuuid,
  at-spi2-core,
  libdrm,
  mesa,
  libxkbcommon,
  libxshmfence,
}:

let

@@ -9,7 +43,8 @@ let
  # source of the latter disappears much faster.
  version = "8.110.76.107";

  rpath = lib.makeLibraryPath [
  rpath =
    lib.makeLibraryPath [
      alsa-lib
      atk
      at-spi2-atk
@@ -58,7 +93,8 @@ let
      xorg.libXtst
      xorg.libXScrnSaver
      xorg.libxcb
  ] + ":${stdenv.cc.cc.lib}/lib64";
    ]
    + ":${stdenv.cc.cc.lib}/lib64";

  src =
    if stdenv.hostPlatform.system == "x86_64-linux" then
@@ -73,7 +109,8 @@ let
    else
      throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";

in stdenv.mkDerivation {
in
stdenv.mkDerivation {
  pname = "skypeforlinux";
  inherit version;

@@ -122,7 +159,10 @@ in stdenv.mkDerivation {
    homepage = "https://www.skype.com";
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
    license = licenses.unfree;
    maintainers = with maintainers; [ panaeon jraygauthier ];
    maintainers = with maintainers; [
      panaeon
      jraygauthier
    ];
    platforms = [ "x86_64-linux" ];
    mainProgram = "skypeforlinux";
  };