summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nongnu/packages/messaging.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/nongnu/packages/messaging.scm b/nongnu/packages/messaging.scm
index e7236e8..ddc6c12 100644
--- a/nongnu/packages/messaging.scm
+++ b/nongnu/packages/messaging.scm
@@ -390,3 +390,58 @@ or iOS.")
390 (description "The Zoom video conferencing and messaging client. Zoom must be run via an 390 (description "The Zoom video conferencing and messaging client. Zoom must be run via an
391app launcher to use its .desktop file, or with @code{ZoomLauncher}.") 391app launcher to use its .desktop file, or with @code{ZoomLauncher}.")
392 (license (license:nonfree "https://explore.zoom.us/en/terms/")))) 392 (license (license:nonfree "https://explore.zoom.us/en/terms/"))))
393
394(define-public zulip-desktop
395 (package
396 (name "zulip-desktop")
397 (version "5.11.1")
398 (source
399 (origin
400 (method url-fetch)
401 (uri
402 (string-append "https://github.com/zulip/zulip-desktop/releases/download/"
403 "v" version "/Zulip-" version "-x64.tar.xz"))
404 (sha256
405 (base32
406 "0kshajcbajkq5jqygn85x12yy8c8b6rwc5r0flrvris474p1vzp0"))))
407 (build-system chromium-binary-build-system)
408 (arguments
409 (list
410 #:validate-runpath? #f ; TODO: Fails on wrapped binary for NSS libs
411 #:substitutable? #f
412 #:wrapper-plan
413 #~(list "chrome_crashpad_handler" "zulip")
414 #:phases
415 #~(modify-phases %standard-phases
416 (add-before 'install-wrapper 'install-entrypoint
417 (lambda _
418 (let* ((bin (string-append #$output "/bin")))
419 (mkdir-p bin)
420 (symlink (string-append #$output "/zulip")
421 (string-append bin "/zulip")))))
422 (add-after 'install 'create-desktop-file
423 (lambda _
424 (make-desktop-entry-file
425 (string-append #$output "/share/applications/zulip-desktop.desktop")
426 #:name "Zulip-Desktop"
427 #:type "Application"
428 #:generic-name "Zulip Chat"
429 #:exec (string-join (list (string-append #$output "/bin/zulip") "%U"))
430 #:icon "zulip"
431 #:keywords '("zulip")
432 #:categories '("Network" "InstantMessaging" "Chat")
433 #:terminal #f
434 #:startup-notify #t
435 #:startup-w-m-class "zulip-desktop"
436 #:comment
437 '(("en" "Zulip Desktop Client")
438 (#f "Zulip Chat"))))))))
439 (synopsis "Zulip Desktop client")
440 (supported-systems '("x86_64-linux"))
441 (description "Zulip Desktop is a client for the Zulip thread and
442conversation platform. Zulip is designed around conversations that are
443labeled with topics, to make communication organized and efficient. It’s easy
444to get an overview of what conversations are happening, and to read one
445conversation at a time.")
446 (home-page "https://github.com/zulip/zulip-desktop")
447 (license license:asl2.0)))