Merge pull request #23366 from Kendos-Kenlen/slack_update

slack: 2.3.4 -> 2.5.1
This commit is contained in:
Jaka Hudoklin 2017-03-05 01:40:56 +01:00 committed by GitHub
commit ee460ec13c

View File

@ -4,7 +4,7 @@
let let
version = "2.3.4"; version = "2.5.1";
rpath = stdenv.lib.makeLibraryPath [ rpath = stdenv.lib.makeLibraryPath [
alsaLib alsaLib
@ -42,8 +42,8 @@ let
src = src =
if stdenv.system == "x86_64-linux" then if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-amd64.deb"; url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
sha256 = "01kr7maj8f4yinyri7rs4pmzab9cvp48xfqw3ilirx4mvh8mr1fd"; sha256 = "1rrhgqmz0ajv2135bzykv3dq0mifzf5kiycgrisk2sfxn6nwyyvj";
} }
else else
throw "Slack is not supported on ${stdenv.system}"; throw "Slack is not supported on ${stdenv.system}";
@ -59,7 +59,7 @@ in stdenv.mkDerivation {
mkdir -p $out mkdir -p $out
dpkg -x $src $out dpkg -x $src $out
cp -av $out/usr/* $out cp -av $out/usr/* $out
rm -rf $out/usr $out/share/lintian rm -rf $out/etc $out/usr $out/share/lintian
# Otherwise it looks "suspicious" # Otherwise it looks "suspicious"
chmod -R g-w $out chmod -R g-w $out