guix-commits
[Top][All Lists]
Advanced

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

01/13: gnu: Add python-py-cpuinfo.


From: guix-commits
Subject: 01/13: gnu: Add python-py-cpuinfo.
Date: Mon, 22 Jun 2020 17:55:42 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit bb7e9ab755efa4220859ce274700414dc6c70785
Author: Edouard Klein <edk@beaver-labs.com>
AuthorDate: Tue Jun 2 11:41:11 2020 +0200

    gnu: Add python-py-cpuinfo.
    
    * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 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 4a22b42..8b0ded2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19494,6 +19494,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 Python 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")



reply via email to

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