From f630990c851470a67884899baf0fe513ee128b9e Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Tue, 22 Jul 2025 08:40:12 +0200 Subject: [PATCH] gnu: Add python-vendetect. * gnu/packages/python-xyz.scm (python-vendetect): New variable. Change-Id: I598a23afa62b494a7291acff86078a6c8051f062 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1638536bc5a7eb530f6c3bfecb47ab3eb4c70032..1df15aaebd632c975ce129a223f04e4512566acd 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")