aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJonathan Brielmaier <jonathan.brielmaier@web.de>2020-05-11 18:16:52 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-06-16 23:36:37 +0300
commit593ef98a28ff8d101772847ba4d88d4bfaca4ce8 (patch)
treeb0d8bcf3d6164f7840aa3dc146180a96a85e205b /gnu
parent0faed3995b351bd5d7db7d674236379867421bee (diff)
downloadguix-593ef98a28ff8d101772847ba4d88d4bfaca4ce8.tar
guix-593ef98a28ff8d101772847ba4d88d4bfaca4ce8.tar.gz
gnu: Add purple-mm-sms.
* gnu/packages/messaging.scm (purple-mm-sms): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c20e48cb6d..ba07b38622 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,6 +61,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages enchant)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -2186,4 +2188,39 @@ support for high performance Telegram Bot creation.")
(home-page "https://core.telegram.org/tdlib")
(license license:boost1.0))))
+(define-public purple-mm-sms
+ (package
+ (name "purple-mm-sms")
+ (version "0.1.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://source.puri.sm/Librem5/purple-mm-sms.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1daf7zl8bhhm1szkgxflpqql69f2w9i9nlgf1n4p1nynxifz1bim"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ ;; Fix hardcoded paths
+ (list (string-append "PREFIX=" out)
+ (string-append "PLUGIN_DIR_PURPLE=" out "/lib/purple-2")
+ (string-append "DATA_ROOT_DIR_PURPLE=" out "/share")))
+ #:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("modem-manager" ,modem-manager)
+ ("pidgin" ,pidgin)))
+ (synopsis "Libpurple plugin for SMS via ModemManager")
+ (description "Plugin for libpurple to allow sending SMS using ModemManager.")
+ (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
+ (license license:gpl2+)))
;;; messaging.scm ends here