guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo


From: Edouard Klein
Subject: [bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo
Date: Tue, 02 Jun 2020 11:41:11 +0200
User-agent: mu4e 1.4.6; emacs 26.3

* gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable.
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6aa666430a..5cd3abd956 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19458,6 +19458,25 @@ using “=” characters.  However this conveys no benefit 
so many protocols
 choose to use Base64 without the “=” padding.")
     (license license:asl2.0)))
 
+(define-public python-py-cpuinfo
+  (package
+    (name "python-py-cpuinfo")
+    (version "5.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "py-cpuinfo" version))
+       (sha256
+        (base32
+         "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/workhorsy/py-cpuinfo";)
+    (synopsis "Get CPU info with Python")
+    (description
+     "This module returns the CPU info by using the best sources of 
information for
+ your Operating System.")
+    (license license:expat)))
+
 (define-public python-canonicaljson
   (package
     (name "python-canonicaljson")
-- 
2.26.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]