summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorRikard Nordgren <hrn@posteo.net>2023-05-21 17:56:57 +0000
committerjgart <jgart@dismail.de>2023-05-23 08:55:02 -0500
commit36ea29115cd53f63017b61fc4f6633bb5e1d7542 (patch)
tree91fc47883fddc1133650200b56a8b4dbebd4e9df /gnu/packages/python-crypto.scm
parent6783f558fa2bcbc662e021e1b3bf502c64706177 (diff)
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>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 7b2ac2db6eb..528bfe604ad 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -801,6 +801,32 @@ Networking and Cryptography library. These libraries have a stated goal
801of improving usability, security and speed.") 801of improving usability, security and speed.")
802 (license license:asl2.0))) 802 (license license:asl2.0)))
803 803
804(define-public python-crcmod
805 (package
806 (name "python-crcmod")
807 (version "1.7")
808 (source (origin
809 (method url-fetch)
810 (uri (pypi-uri "crcmod" version))
811 (sha256
812 (base32
813 "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"))))
814 (build-system python-build-system)
815 (arguments
816 (list
817 #:phases
818 #~(modify-phases %standard-phases
819 (replace 'check
820 (lambda* (#:key tests? #:allow-other-keys)
821 (when tests?
822 ;; As per the Unit Testing subsection in the README.
823 (invoke "python" "-m" "crcmod.test")))))))
824 (synopsis "CRC generator for Python")
825 (description "Python module for generating objects that compute the
826Cyclic Redundancy Check.")
827 (home-page "https://crcmod.sourceforge.net/")
828 (license license:expat)))
829
804(define-public python-blurhash 830(define-public python-blurhash
805 (package 831 (package
806 (name "python-blurhash") 832 (name "python-blurhash")