diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-10-06 09:35:46 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-10-06 15:35:46 +0200 |
commit | fa3ec9c8364eb2153d794b6a38cec2f8621d0afd (patch) | |
tree | dcb305b4d040a568217b6ddfd0cb0ce0ae6ea403 /pkgs/applications/networking | |
parent | f368e55ba1c5884b708bf2bb4bb769fdae0d46ed (diff) | |
download | nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar.gz nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar.bz2 nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar.lz nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar.xz nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.tar.zst nixpkgs-fa3ec9c8364eb2153d794b6a38cec2f8621d0afd.zip |
wire-desktop: 3.2.2840 -> 3.3.2872 (#47941)
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/wire-desktop/default.nix | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix index 0985f139238..193e306f228 100644 --- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix @@ -1,10 +1,10 @@ -{ stdenv, lib, fetchurl, dpkg, makeDesktopItem, gnome2, gtk2, atk, cairo, pango, gdk_pixbuf, glib +{ stdenv, fetchurl, dpkg, makeDesktopItem, gnome2, gtk2, atk, cairo, pango, gdk_pixbuf, glib , freetype, fontconfig, dbus, libnotify, libX11, xorg, libXi, libXcursor, libXdamage , libXrandr, libXcomposite, libXext, libXfixes, libXrender, libXtst, libXScrnSaver -, nss, nspr, alsaLib, cups, expat, udev, xdg_utils, hunspell +, nss, nspr, alsaLib, cups, expat, udev, xdg_utils, hunspell, pulseaudio, pciutils }: let - rpath = lib.makeLibraryPath [ + rpath = stdenv.lib.makeLibraryPath [ alsaLib atk cairo @@ -17,7 +17,6 @@ let glib gnome2.GConf gtk2 - pango hunspell libnotify libX11 @@ -33,13 +32,16 @@ let libXtst nspr nss + pango + pciutils + pulseaudio stdenv.cc.cc udev xdg_utils xorg.libxcb ]; - version = "3.2.2840"; + version = "3.3.2872"; plat = { "i686-linux" = "i386"; @@ -47,8 +49,8 @@ let }.${stdenv.hostPlatform.system}; sha256 = { - "i686-linux" = "071ddh2d8wmiybwafwyb97962zj358l0fq7g2r44231653sgybvq"; - "x86_64-linux" = "0qp9ms94smnm7k47b0n0jdzvnm1b7gj25hyinsfc6lghrb6jqw3r"; + "i686-linux" = "16dw4ycajxviqrf4i32rkrhg1j1mdkmk252y8vjwr18xlyn958qb"; + "x86_64-linux" = "04ysk91h2izyb41b243zki4j08bis9yzjq2va9bakp1lv6ywm8pw"; }.${stdenv.hostPlatform.system}; in @@ -74,31 +76,31 @@ in nativeBuildInputs = [ dpkg ]; unpackPhase = "dpkg-deb -x $src ."; installPhase = '' - mkdir -p $out - cp -R opt $out - cp -R usr/share $out/share + mkdir -p "$out" + cp -R "opt" "$out" + cp -R "usr/share" "$out/share" - chmod -R g-w $out + chmod -R g-w "$out" - # Patch signal + # Patch wire-desktop patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${rpath}:$out/opt/wire-desktop" \ - "$out/opt/wire-desktop/wire-desktop" + --set-rpath "${rpath}:$out/opt/Wire" \ + "$out/opt/Wire/wire-desktop" # Symlink to bin - mkdir -p $out/bin - ln -s "$out/opt/wire-desktop/wire-desktop" $out/bin/wire-desktop + mkdir -p "$out/bin" + ln -s "$out/opt/Wire/wire-desktop" "$out/bin/wire-desktop" # Desktop file - mkdir -p $out/share/applications - cp ${desktopItem}/share/applications/* $out/share/applications + mkdir -p "$out/share/applications" + cp ${desktopItem}/share/applications/* "$out/share/applications" ''; - meta = { + meta = with stdenv.lib; { description = "A modern, secure messenger"; homepage = https://wire.com/; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ worldofpeace ]; - platforms = [ "i686-linux" "x86_64-linux" ]; + license = licenses.gpl3; + maintainers = with maintainers; [ worldofpeace ]; + platforms = [ "i686-linux" "x86_64-linux" ]; }; } |