guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add python-crcmod.


From: guix-commits
Subject: branch master updated: gnu: Add python-crcmod.
Date: Tue, 23 May 2023 09:57:38 -0400

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

jgart pushed a commit to branch master
in repository guix.

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

commit 36ea29115cd53f63017b61fc4f6633bb5e1d7542
Author: Rikard Nordgren <hrn@posteo.net>
AuthorDate: Sun May 21 17:56:57 2023 +0000

    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>
---
 gnu/packages/python-crypto.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 7b2ac2db6e..528bfe604a 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
 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")



reply via email to

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