guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add python-psptool.


From: guix-commits
Subject: branch master updated: gnu: Add python-psptool.
Date: Mon, 08 Feb 2021 14:15:18 -0500

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a613abe  gnu: Add python-psptool.
a613abe is described below

commit a613abeb43b1c81d2d0e647dc2b3c7f8cc98b8cb
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Mon Feb 8 20:14:00 2021 +0100

    gnu: Add python-psptool.
    
    * gnu/packages/embedded.scm (python-psptool): New variable.
---
 gnu/packages/embedded.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 622905f..16e9e6b 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2018, 2019 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
+;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -54,6 +55,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages texinfo)
@@ -1520,3 +1522,28 @@ families, plus many of their variants.")
                    license:lgpl3+
                    license:public-domain
                    license:zlib))))
+
+(define-public python-psptool
+  (package
+    (name "python-psptool")
+    (version "2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "psptool" version))
+              (sha256
+               (base32
+                "1kx0xpfx67m4zclk4gs97wiwjms8i7z4f6b6m68y8sfgpshy4rf3"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; IPython is not used by the package at all
+                  (substitute* '("psptool/directory.py" "psptool/entry.py")
+                    (("from IPython.*") ""))))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-prettytable" ,python-prettytable)))
+    (home-page "https://github.com/PSPReverse/psptool";)
+    (synopsis "Tool for dealing with AMD binary blobs")
+    (description "PSPTool is a tool for dealing with AMD binary blobs")
+    (license license:gpl3+)))



reply via email to

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