* [bug#67197] [PATCH] gnu: Add python-smbus2.
@ 2023-11-15 17:02 Wicki Gabriel (wicg)
0 siblings, 0 replies; only message in thread
From: Wicki Gabriel (wicg) @ 2023-11-15 17:02 UTC (permalink / raw)
To: 67197; +Cc: me@bonfacemunyoki.com, jgart@dismail.de, lars@6xq.net,
marius@gnu.org
[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 419 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-smbus2.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-python-smbus2.patch", Size: 1680 bytes --]
From eb6a95d3915c3f7785c8e411764c60d39a7ac609 Mon Sep 17 00:00:00 2001
Message-ID: <eb6a95d3915c3f7785c8e411764c60d39a7ac609.1700067600.git.wicg@zhaw.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Wed, 15 Nov 2023 17:58:02 +0100
Subject: [PATCH] gnu: Add python-smbus2.
* gnu/packages/python-xyz.scm (python-smbus2): New variable.
Change-Id: Ia43f4a0720e8137fba0632dc021babb3bfac590b
---
gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e521c1580d..0f838528dc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3016,6 +3016,26 @@ (define-public python-caniusepython3
a library.")
(license license:asl2.0)))
+(define-public python-smbus2
+ (package
+ (name "python-smbus2")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "smbus2" version))
+ (sha256
+ (base32
+ "0fl0dazyg78yqz4lljd252kva3l8ip4lw95jlyvkqdhsis52iwin"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/kplindegaard/smbus2")
+ (synopsis "Drop-in replacement for smbus-cffi/smbus-python in pure Python")
+ (description "This package provides a Python library to access
+@acronym{I2C, Inter-Integrated Circuit} and @acronym{SMBus, System +
+Management Bus} devices on Linux. It is functionally equivalent to
+python-smbus and provides the same interface and syntax.")
+ (license license:expat)))
+
(define-public python-diskcache
(package
(name "python-diskcache")
base-commit: 7e6580670bc615d89d0216ebddfb6ba81feb0238
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-15 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 17:02 [bug#67197] [PATCH] gnu: Add python-smbus2 Wicki Gabriel (wicg)
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).