aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSören Tempel <soeren@soeren-tempel.net>2024-09-27 20:34:58 +0200
committerLudovic Courtès <ludo@gnu.org>2024-10-07 12:51:24 +0200
commitcb79f3b1ccd100d072e793bc568c765e643d64dd (patch)
treecf72eacf9cef4beed06319e77598791d0767fe19 /gnu/packages
parentac908ebd9fa7274b9c13e3b0262d21e5cf19fb7d (diff)
downloadguix-cb79f3b1ccd100d072e793bc568c765e643d64dd.tar
guix-cb79f3b1ccd100d072e793bc568c765e643d64dd.tar.gz
gnu: Add python-cart.
* gnu/packages/python-xyz.scm (python-cart): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5449539a7..1ecd17b487 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34057,6 +34057,36 @@ instructions up to AVX-512 and SHA (including 3dnow!+, XOP, FMA3, FMA4, TBM
and BMI2).")
(license license:bsd-2))))
+(define-public python-cart
+ (package
+ (name "python-cart")
+ (version "1.2.2")
+ (source
+ (origin
+ ;; No source releases available on pypi, hence fetching from GitHub.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/CybercentreCanada/cart")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zycv620iljrsval5rai1wsn0hr25ddx9xhjsyy6xxrgprfxvlfi"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "unittest" "discover")))))))
+ (propagated-inputs (list python-pycryptodome))
+ (home-page "https://github.com/CybercentreCanada/cart")
+ (synopsis "Library for interacting with the CaRT file format")
+ (description
+ "This Python library implements the CaRT file format which is commonly
+used to store and transmit information about computer malware and associated
+metadata.")
+ (license license:bsd-2)))
+
(define-public python-ailment
(package
(name "python-ailment")