From af4acb48a05c1443183326633423007998878b69 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 27 Sep 2025 15:33:14 +0200 Subject: [PATCH] gnu: python-plover-stroke: Switch to pyproject. * gnu/packages/stenography.scm (python-plover-stroke): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: Ia14ad0ecec308720c212168ed2e51cfcd5da1e7c Signed-off-by: Sharlatan Hellseher --- gnu/packages/stenography.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/stenography.scm b/gnu/packages/stenography.scm index 687a23e85a47b17c00bec4ee10f39ed2200ee522..3f0979c3063ae4d2a7eb17f640c27e4496d49006 100644 --- a/gnu/packages/stenography.scm +++ b/gnu/packages/stenography.scm @@ -45,17 +45,21 @@ (package (name "python-plover-stroke") (version "1.1.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "plover_stroke" version)) - (sha256 - (base32 - "0lyifam9xqpx2jzqcbah84sv909n4g2frm7pd5gvcrpf98zv40yy")))) - (build-system python-build-system) - (native-inputs (list python-pytest)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/benoit-pierre/plover_stroke") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "104ab1lr2xr8nbq98n7h3jvskfzzg8m41rhb1ik4b7w474rlxgh3")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/benoit-pierre/plover_stroke") (synopsis "Stroke handling helper library for Plover") - (description "This package provides a helper class for working with steno strokes.") + (description + "This package provides a helper class for working with steno strokes.") (license license:gpl2+))) (define-public plover