summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2025-07-22 08:40:12 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-26 18:36:04 +0100
commitf630990c851470a67884899baf0fe513ee128b9e (patch)
tree58e574ee5ae017bc124d6963563637d3cf5a0a74 /gnu/packages/python-xyz.scm
parente8a903ca9ff4512ff63ec6316363fe0a68cb71fa (diff)
gnu: Add python-vendetect.
* gnu/packages/python-xyz.scm (python-vendetect): New variable. Change-Id: I598a23afa62b494a7291acff86078a6c8051f062 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1638536bc5..1df15aaebd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1152,6 +1152,28 @@ not require any changes to the original source code, such as marking strings
for translation.")
(license license:expat)))
+(define-public python-vendetect
+ (package
+ (name "python-vendetect")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "vendetect" version))
+ (sha256
+ (base32 "0hi13sbgr8y66mih2xyzczjfff4lwymkn9cw5215ms2nn6qq9rhi"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-copydetect python-rich))
+ (native-inputs (list python-hatchling python-pytest))
+ (home-page "https://github.com/trailofbits/vendetect")
+ (synopsis "Detect vendored and copy-pasted code")
+ (description
+ "Vendetect helps identify copied or vendored code between repositories,
+making it easier to detect when code has been copied with or without
+attribution. It uses similarity detection algorithms to compare code files
+and highlight matching sections.")
+ (license license:agpl3+)))
+
(define-public python-xmldiff
(package
(name "python-xmldiff")