From efb7ad18161cf9a07f3ee45702f1628f6e72c515 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 29 Dec 2025 10:10:41 +0100 Subject: [PATCH] gnu: patatt: Switch to pyproject. * gnu/packages/version-control.scm (patatt): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Improve comment. [native-inputs]: Add python-setuptools. Change-Id: Id46c10a5e93c727b3ba58e940d6f4463ccde7cd7 Signed-off-by: Sharlatan Hellseher Signed-off-by: Rutherther --- gnu/packages/version-control.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 9ff85282677ebf90f25c9781ffc8fa9362a4c0d6..b10d0cfdc1c5309cd7e7af636a2ba51547569bb2 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -3610,14 +3610,19 @@ based on a manifest file published by servers.") (version "0.6.3") (source (origin - (method url-fetch) - (uri (pypi-uri "patatt" version)) + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/utils/patatt/patatt.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0a0a5ndlnv7dk2smn8algss6q17gbd6mc7yacz17c9cxabv2c24q")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; No tests. - (propagated-inputs - (list python-pynacl)) + (base32 "1brak6kwnwbz8739aaxxks4nyaxrlldscfmzxdcqxi24afiw3h8z")))) + (build-system pyproject-build-system) + (arguments + ;; XXX: No tests in this release, but they are there on master. + (list #:tests? #f)) + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-pynacl)) (home-page "https://git.kernel.org/pub/scm/utils/patatt/patatt.git") (synopsis "Tool for cryptographic patch attestation") (description "This utility provides end-to-end cryptographic attestation