mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add python-crcmod.
* gnu/packages/python-crypto.scm (python-crcmod): New variable. Co-authored-by: jgart <jgart@dismail.de> Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
6783f558fa
commit
36ea29115c
1 changed files with 26 additions and 0 deletions
|
@ -801,6 +801,32 @@ (define-public python-pynacl
|
|||
of improving usability, security and speed.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public python-crcmod
|
||||
(package
|
||||
(name "python-crcmod")
|
||||
(version "1.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "crcmod" version))
|
||||
(sha256
|
||||
(base32
|
||||
"07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; As per the Unit Testing subsection in the README.
|
||||
(invoke "python" "-m" "crcmod.test")))))))
|
||||
(synopsis "CRC generator for Python")
|
||||
(description "Python module for generating objects that compute the
|
||||
Cyclic Redundancy Check.")
|
||||
(home-page "https://crcmod.sourceforge.net/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-blurhash
|
||||
(package
|
||||
(name "python-blurhash")
|
||||
|
|
Loading…
Reference in a new issue