From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1falrt-000060-Ok for guix-patches@gnu.org; Wed, 04 Jul 2018 13:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1falrq-0004DY-Mb for guix-patches@gnu.org; Wed, 04 Jul 2018 13:47:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1falrq-0004DU-IC for guix-patches@gnu.org; Wed, 04 Jul 2018 13:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1falrq-0005Vl-CN for guix-patches@gnu.org; Wed, 04 Jul 2018 13:47:02 -0400 Subject: [bug#32053] [PATCH 2/2] gnu: Add quaternion. References: <20180704174239.30870-1-arunisaac@systemreboot.net> In-Reply-To: <20180704174239.30870-1-arunisaac@systemreboot.net> Resent-Message-ID: From: Arun Isaac Date: Wed, 4 Jul 2018 23:16:37 +0530 Message-Id: <20180704174637.31129-1-arunisaac@systemreboot.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32053@debbugs.gnu.org * 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