From 1341779f8489c207c9683e0c88bc8c99815da57a Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 19 Apr 2022 17:26:02 -0400 Subject: gnu: Add python-crccheck. * gnu/packages/python-xyz.scm (python-crccheck): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 09b55e7362..d46b129329 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11488,6 +11488,32 @@ output.") (define-public python2-cram (package-with-python2 python-cram)) +(define-public python-crccheck + (package + (name "python-crccheck") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "crccheck" version)) + (sha256 + (base32 "15psg7wjfbpmmry54ffwg6pg63mnv7mkwmb0a7884axnr8qj55j5")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (native-inputs (list python-pytest)) + (home-page "https://sourceforge.net/projects/crccheck/") + (synopsis "Calculation library for CRCs and checksums") + (description "@code{crccheck} is a calculation library for CRCs and +checksums. It implement more than a hundred checksum routines.") + (license license:gpl3+))) + (define-public python-crashtest (package (name "python-crashtest") -- cgit v1.2.3