diff options
author | Julien Lepiller <julien@lepiller.eu> | 2021-02-08 20:14:00 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2021-02-08 20:15:06 +0100 |
commit | a613abeb43b1c81d2d0e647dc2b3c7f8cc98b8cb (patch) | |
tree | bd3916bfa2046d74f0599487700d4448052ed351 /gnu | |
parent | 823cca8bce2d61b843d9c55a9d3cb9e69ff2a4ca (diff) | |
download | guix-a613abeb43b1c81d2d0e647dc2b3c7f8cc98b8cb.tar.gz guix-a613abeb43b1c81d2d0e647dc2b3c7f8cc98b8cb.zip |
gnu: Add python-psptool.
* gnu/packages/embedded.scm (python-psptool): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/embedded.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 622905f0ce..16e9e6be76 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+))) |