unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Edouard Klein <edk@beaver-labs.com>
To: 41459@debbugs.gnu.org
Subject: [bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo
Date: Tue, 02 Jun 2020 11:41:11 +0200	[thread overview]
Message-ID: <87o8q1dcug.fsf@alice.lan> (raw)
In-Reply-To: <87a720au0g.fsf@alice.lan>


* 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




  parent reply	other threads:[~2020-06-02  9:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 15:06 [bug#41459] [PATCH] gnu: Add python-flask-restx Edouard Klein
2020-05-30 13:04 ` Marius Bakke
2020-06-02 10:06   ` Edouard Klein
2020-06-02  9:41 ` Edouard Klein [this message]
2020-06-22 19:33   ` [bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo Marius Bakke
2020-06-02  9:44 ` [bug#41459] [PATCH 2/4] gnu: Add python-pytest-benchmark Edouard Klein
2020-06-22 19:36   ` Marius Bakke
2020-06-02  9:44 ` [bug#41459] (no subject) Edouard Klein
2020-06-22 19:39   ` Marius Bakke
2020-06-02  9:45 ` Edouard Klein
2020-06-22 19:43   ` bug#41459: " Marius Bakke

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=87o8q1dcug.fsf@alice.lan \
    --to=edk@beaver-labs.com \
    --cc=41459@debbugs.gnu.org \
    /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).