diff mbox series

[bug#49451,19/20] gnu: Add aparte

Message ID YOtjRnX66Ki9WSRu@thunix.net
State New
Headers show
Series [bug#49451,01/20] gnu: rust-blake2: Update to 0.9 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

southerntofu July 11, 2021, 9:31 p.m. UTC
---
 gnu/packages/messaging.scm | 59 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 22e1c370aa..6bfee2e15e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -60,6 +60,7 @@ 
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
@@ -123,6 +124,7 @@ 
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system go)
   #:use-module (guix build-system glib-or-gtk)
@@ -3016,4 +3018,61 @@  API.  Mattermost is not required.")
     (home-page "https://github.com/42wim/matterbridge")
     (license license:asl2.0)))
 
+(define-public aparte
+  (package
+    (name "aparte")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "aparte" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0qzg1052whjhcsz8n3s77kb4zvp7k0na3hikzkf5qa3z4g0hyvrp"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-backtrace" ,rust-backtrace-0.3)
+         ("rust-bytes" ,rust-bytes-0.5)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-derive-error" ,rust-derive-error-0.0.4)
+         ("rust-dirs" ,rust-dirs-2)
+         ("rust-flexi-logger" ,rust-flexi-logger-0.15)
+         ("rust-futures" ,rust-futures-0.3)
+         ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3)
+         ("rust-hsluv" ,rust-hsluv-0.1)
+         ("rust-linked-hash-map"
+          ,rust-linked-hash-map-0.5)
+         ("rust-linked-hash-set"
+          ,rust-linked-hash-set-0.1)
+         ("rust-log" ,rust-log-0.4)
+         ("rust-rand" ,rust-rand-0.8)
+         ("rust-rpassword" ,rust-rpassword-3)
+         ("rust-rust-crypto" ,rust-rust-crypto-0.2)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-termion" ,rust-termion-1)
+         ("rust-textwrap" ,rust-textwrap-0.12)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-tokio-xmpp" ,rust-tokio-xmpp-3)
+         ("rust-toml" ,rust-toml-0.5)
+         ("rust-unicode-segmentation"
+          ,rust-unicode-segmentation-1)
+         ("rust-uuid" ,rust-uuid-0.7)
+         ("rust-xmpp-parsers" ,rust-xmpp-parsers-0.18))
+        #:cargo-development-inputs
+        (("rust-mockall" ,rust-mockall-0.9))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page
+      "https://github.com/paulfariello/aparte")
+    (synopsis
+      "Simple XMPP console client written in Rust and inspired by Profanity")
+    (description
+      "Simple XMPP console client written in Rust and inspired by Profanity")
+    (license license:mpl2.0)))
+
 ;;; messaging.scm ends here