mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add python-cart.
* gnu/packages/python-xyz.scm (python-cart): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ac908ebd9f
commit
cb79f3b1cc
1 changed files with 30 additions and 0 deletions
|
@ -34057,6 +34057,36 @@ (define-public python-opcodes
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue