summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-25 09:31:36 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-02 21:04:40 +0100
commitd0cc8f6e4f67e332ff7d047b8542520b60024f20 (patch)
tree059a2620efddefd3c52cb699370d1b0b9ed0b080 /gnu/packages/python-crypto.scm
parent6df869cd974e25cf6a25216288a54b474221e01c (diff)
gnu: python-google-crc32c: Move to (gnu packages python-crypto).
* gnu/packages/python-web.scm (python-google-crc32c): Move from here… * gnu/packages/python-crypto.scm (python-google-crc32c): …to here. Change-Id: I211f02fabaf35fcef7c5bee67675cfb3f590ea95 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index ff78ed12b9d..44d7ca46a3d 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1266,6 +1266,28 @@ simplest case, this means host name verification. However, service_identity
implements RFC 6125 fully and plans to add other relevant RFCs too.")
(license license:expat)))
+(define-public python-google-crc32c
+ (package
+ (name "python-google-crc32c")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/python-crc32c")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "005ra4pfv71rq53198k7q6k63f529q3g6hkbxbwfcf82jr77hxga"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (home-page "https://github.com/googleapis/python-crc32c")
+ (synopsis "Python wrapper of Google CRC32C")
+ (description
+ "This package provides a Python wrapper of the C library implementation
+of the CRC32C hashing algorithm.")
+ (license license:asl2.0)))
+
(define-public python-hkdf
(package
(name "python-hkdf")