1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00

slack: 2.5.2 -> 2.6.2

This commit is contained in:
Winnie Quinn 2017-05-27 13:08:34 -04:00
parent b63aab2433
commit 7123cad742

View file

@ -1,10 +1,10 @@
{ stdenv, fetchurl, dpkg { stdenv, fetchurl, dpkg
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib, gnome2 , alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
, libnotify, nspr, nss, systemd, xorg }: , gnome2, libnotify, libxcb, nspr, nss, systemd, xorg }:
let let
version = "2.5.2"; version = "2.6.2";
rpath = stdenv.lib.makeLibraryPath [ rpath = stdenv.lib.makeLibraryPath [
alsaLib alsaLib
@ -22,6 +22,7 @@ let
gnome2.gtk gnome2.gtk
gnome2.pango gnome2.pango
libnotify libnotify
libxcb
nspr nspr
nss nss
stdenv.cc.cc stdenv.cc.cc
@ -45,7 +46,7 @@ let
if stdenv.system == "x86_64-linux" then if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb"; url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
sha256 = "0mg8js18lnnwyvqksrhpym7d04bin16bh7sdmxbm36iijb9ajxmi"; sha256 = "01zdzzpnv8qpmcpy6h9x7izrnwm0y015j5p5rnjwx8ki712wnmm8";
} }
else else
throw "Slack is not supported on ${stdenv.system}"; throw "Slack is not supported on ${stdenv.system}";