From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 50949@debbugs.gnu.org
Subject: [bug#50949] [PATCH 5/5] gnu: Add python-miio.
Date: Fri, 01 Oct 2021 19:26:46 +0000 [thread overview]
Message-ID: <yNzX3yrqUNziU345cp4vkHBhYKDLBqMEic_aGBUM2RDGTdQvxAACK9G0-ZtGeZmv2A5gO5RmOAfbPfEN21vTVz1ArbyVTuatvmHmp8nvvdo=@protonmail.com> (raw)
In-Reply-To: <KLG5xl3uVoAsrxhPRsJGUim_bWG8BEb6UPavbHNJrHrlobBUQFWlZV5GBrMXxdaRggyujSOoj4_Sy6LK-38A63rBN0aog__ERbX80koVYrQ=@protonmail.com>
* gnu/packages/android.scm (python-miio): New variable.
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 5c7376c3a4..8697779990 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -53,7 +53,9 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages selinux)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
+ #:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages virtualization)
@@ -937,6 +939,55 @@ useful for reverse engineering, analysis of Android applications and more.")
Supports encrypted archives.")
(license license:asl2.0)))
+(define-public python-miio
+ (package
+ (name "python-miio")
+ (version "0.5.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-miio" version))
+ (sha256
+ (base32
+ "0a4f5ybjvibawwxcjm3r9nnrzf1yff6wwgy05yzyk0bb3rmc99fp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "miio"))))))
+ (native-inputs `(("python-pytest" ,python-pytest)
+ ("python-pytest-mock" ,python-pytest-mock)
+ ("python-sphinx" ,python-sphinx)
+ ("python-sphinx-click" ,python-sphinx-click)
+ ("python-sphinx-rtd-theme"
+ ,python-sphinx-rtd-theme)
+ ("python-sphinxcontrib-apidoc"
+ ,python-sphinxcontrib-apidoc)))
+ (propagated-inputs
+ `(("python-android-backup" ,python-android-backup)
+ ("python-appdirs" ,python-appdirs)
+ ("python-attrs" ,python-attrs)
+ ("python-click" ,python-click)
+ ("python-construct" ,python-construct)
+ ("python-croniter" ,python-croniter)
+ ("python-cryptography" ,python-cryptography)
+ ("python-defusedxml" ,python-defusedxml)
+ ("python-importlib-metadata"
+ ,python-importlib-metadata)
+ ("python-netifaces" ,python-netifaces)
+ ("python-pytz" ,python-pytz)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-tqdm" ,python-tqdm)
+ ("python-zeroconf" ,python-zeroconf)))
+ (home-page "https://github.com/rytilahti/python-miio")
+ (synopsis "Control Xiaomi smart appliances")
+ (description "This package provides library and command line interface
+for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
+ (license license:gpl3+)))
+
(define-public fdroidserver
(package
(name "fdroidserver")
--
2.32.0
next prev parent reply other threads:[~2021-10-01 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
2021-10-01 19:25 ` [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc phodina via Guix-patches via
2021-10-01 19:25 ` [bug#50949] [PATCH 3/5] gnu: Add python-sphinx-click phodina via Guix-patches via
2021-10-01 19:26 ` [bug#50949] [PATCH 4/5] gnu: Add python-android-backup phodina via Guix-patches via
2021-10-01 19:26 ` phodina via Guix-patches via [this message]
2022-01-12 23:04 ` [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 Nicolas Goaziou
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='yNzX3yrqUNziU345cp4vkHBhYKDLBqMEic_aGBUM2RDGTdQvxAACK9G0-ZtGeZmv2A5gO5RmOAfbPfEN21vTVz1ArbyVTuatvmHmp8nvvdo=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=50949@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/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).