Merge branch 'add/slack' into 'master'
nongnu: Add slack-desktop. See merge request nonguix/nonguix!502
This commit is contained in:
commit
0a25ef27e3
|
@ -20,6 +20,7 @@
|
|||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages nss)
|
||||
#:use-module (gnu packages pulseaudio)
|
||||
#:use-module (gnu packages video)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages xorg)
|
||||
|
@ -405,3 +406,55 @@ or iOS.")
|
|||
(description "The Zoom video conferencing and messaging client. Zoom must be run via an
|
||||
app launcher to use its .desktop file, or with @code{ZoomLauncher}.")
|
||||
(license (license:nonfree "https://explore.zoom.us/en/terms/"))))
|
||||
|
||||
(define-public slack-desktop
|
||||
(let ((binary-deps
|
||||
'("ffmpeg" "dbus" ("nss" "/lib/nss") "cups" "libxcomposite" "gcc" "at-spi2-core"
|
||||
"libxcb" "cairo" "nspr" "glibc" "libxfixes" "cups" "libx11" "glib"
|
||||
"libxdamage" "libdrm" "libxrandr" "alsa-lib" "libxrandr" "expat" "pango"
|
||||
("out" "/lib/slack") "mesa" "libxkbcommon" "gtk+" "libxext")))
|
||||
(package
|
||||
(name "slack-desktop")
|
||||
(version "4.39.90")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append
|
||||
"https://downloads.slack-edge.com/desktop-releases/linux/x64/"
|
||||
version "/" name "-" version "-amd64.deb"))
|
||||
(sha256
|
||||
(base32 "00ygbka304xnh99s17hh51lxjdkv2flh6nmn143dkj7qqabgrll8"))))
|
||||
(build-system chromium-binary-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:patchelf-plan
|
||||
`'(("usr/bin/slack" ,binary-deps)
|
||||
("usr/lib/slack/slack" ,binary-deps)
|
||||
("usr/lib/slack/libEGL.so" ("gcc"))
|
||||
("usr/lib/slack/chrome_crashpad_handler" ("gcc" "glibc"))
|
||||
("usr/lib/slack/libvk_swiftshader.so" ("gcc" "glibc"))
|
||||
("usr/lib/slack/libvulkan.so.1" ("gcc"))
|
||||
("usr/lib/slack/libffmpeg.so" ("gcc"))
|
||||
("usr/lib/slack/libGLESv2.so" ("libx11" "libxext" "libxext"
|
||||
"libdrm" "gcc" "libxcb" "glibc")))
|
||||
#:validate-runpath? #f
|
||||
#:install-plan
|
||||
`'(("usr/bin/slack" "bin/")
|
||||
("usr/lib/" "lib/")
|
||||
("usr/share/" "share/"))))
|
||||
|
||||
(inputs (list ffmpeg dbus nss cups libxcomposite libx11 libxext libxrandr
|
||||
libxfixes libxdamage libxcb glibc at-spi2-core cairo nspr
|
||||
libxkbcommon glib mesa gtk+ (list gcc "lib") libdrm alsa-lib expat))
|
||||
|
||||
(synopsis "Slack communication system")
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(description "Slack brings team communication and collaboration into one place so
|
||||
you can get more work done, whether you belong to a large enterprise
|
||||
or a small business. Check off your to-do list and move your projects
|
||||
forward by bringing the right people, conversations, tools, and
|
||||
information you need together. Slack is available on any device, so
|
||||
you can find and access your team and your work, whether you’re at
|
||||
your desk or on the go.")
|
||||
(home-page "https://slack.com/")
|
||||
(license (license:nonfree "Properietary license")))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user