[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51779] [PATCH] Add phonesim 1.21
From: |
Demis Balbach |
Subject: |
[bug#51779] [PATCH] Add phonesim 1.21 |
Date: |
Tue, 23 Nov 2021 19:55:21 +0100 |
This is the new patch after changing the commit message.
* gnu/packages/telephony.scm (phonesim): Add new variable.
---
gnu/packages/telephony.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index a2765ee99f..6e3c69ce91 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
+;;; Copyright © 2021 Demis Balbach <db@minikn.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -87,6 +88,7 @@ (define-module (gnu packages telephony)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -94,6 +96,37 @@ (define-module (gnu packages telephony)
#:use-module (guix build-system gnu)
#:use-module (guix build-system qt))
+(define-public phonesim
+ (package
+ (name "phonesim")
+ (version "1.21")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://git.kernel.org/pub/scm/network/ofono/phonesim.git")
+ (commit "a7c844d45b047b2dae5b0877816c346fce4c47b9")))
+ (sha256
+ (base32
+ "0rc1c2vr03dmi1dr3skj57v77ga9c22g29xs1qiphqms4isby9cq"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--enable-maintainer-mode"
+ "CC=" ,(cc-for-target))))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase-5)
+ ("qtdeclarative" ,qtdeclarative)))
+ (synopsis "Phone Simulator for modem testing")
+ (description "Phonesim is a modem emulator that oFono uses for development
+and testing. This allows oFono to be used by any host without requiring special
+GSM (or other) hardware.")
+ (home-page "https://git.kernel.org/pub/scm/network/ofono/phonesim.git")
+ (license license:gpl2+)))
+
(define-public libilbc
(package
(name "libilbc")
--
2.34.0
Cheers,
Demis.