unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: 32053@debbugs.gnu.org
Subject: [bug#32053] [PATCH 2/2] gnu: Add quaternion.
Date: Wed,  4 Jul 2018 23:16:37 +0530	[thread overview]
Message-ID: <20180704174637.31129-1-arunisaac@systemreboot.net> (raw)
In-Reply-To: <20180704174239.30870-1-arunisaac@systemreboot.net>

* gnu/packages/messaging.scm (quaternion): New variable.
---
 gnu/packages/messaging.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index a9db199f9..9e921ba16 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1668,4 +1668,39 @@ notifications, and Python scripting support.")
 Matrix protocol.  Quaternion is the reference client implementation.
 Quaternion and libqmatrixclient together form the QMatrixClient project.")
     (license license:lgpl2.1+)))
+
+(define-public quaternion
+  (package
+    (name "quaternion")
+    (version "0.0.9.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/QMatrixClient/Quaternion/archive/v"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0s2mpw11s2n21ds1spf94j1p2lj2px2bv5zxldlcx81ch0rb4ng8"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("libqmatrixclient-source" ,(package-source libqmatrixclient))
+       ("qt" ,qt)))
+    (arguments
+     `(#:tests? #f ; No tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'unpack-libqmatrixclient
+           (lambda* (#:key inputs #:allow-other-keys)
+             (invoke "tar" "-C" "lib" "-xvf"
+                     (assoc-ref inputs "libqmatrixclient-source")
+                     "--strip-components=1"))))))
+    (home-page "https://matrix.org/docs/projects/client/quaternion.html")
+    (synopsis "Qt5 desktop client for the Matrix protocol")
+    (description "Quaternion is a Qt5 desktop client for the Matrix protocol.
+It uses libqmatrixclient and is its reference client implementation.
+Quaternion and libqmatriclient together form the QMatrixClient project.")
+    (license (list license:gpl3+ ; all source code
+                   license:lgpl3+)))) ; icons/breeze
+
 ;;; messaging.scm ends here
-- 
2.15.1

  reply	other threads:[~2018-07-04 17:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-04 17:42 [bug#32053] [PATCH 1/2] gnu: Add libqmatrixclient Arun Isaac
2018-07-04 17:46 ` Arun Isaac [this message]
2018-07-09 12:37   ` [bug#32053] [PATCH 2/2] gnu: Add quaternion Ludovic Courtès
2018-07-10  5:23     ` Arun Isaac
2018-07-09 12:34 ` [bug#32053] [PATCH 1/2] gnu: Add libqmatrixclient Ludovic Courtès
2018-07-12 10:51 ` [bug#32053] [PATCH v2 0/2] Add quaternion Arun Isaac
2018-07-12 10:51   ` [bug#32053] [PATCH v2 1/2] gnu: Add libqmatrixclient Arun Isaac
2018-07-12 10:51   ` [bug#32053] [PATCH v2 2/2] gnu: Add quaternion Arun Isaac
2018-07-12 14:56   ` [bug#32053] [PATCH v2 0/2] " Ludovic Courtès
2018-07-12 17:56     ` bug#32053: " Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180704174637.31129-1-arunisaac@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=32053@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).