From 93823d89aa3c4ed87dc1a5ab650647f3d0a424f8 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Sun, 28 Sep 2025 11:44:59 +0200 Subject: [PATCH] gnu: Add python-pybtex-apa-style. * gnu/packages/python-xyz.scm (python-pybtex-apa-style): New variable. Change-Id: Ic73c4e01bd1e0d2a044ff0c2d9baaa8a7dc18fac Reviewed-by: Nicolas Graves Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 534a4dded5e27e599e96f661d8c1dfb8ced3b4a0..97eae1cf623081500a9c2b0a5db33e3014ea38f8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29296,6 +29296,32 @@ close matches in Python.") in Python. You can simply type pybtex instead of bibtex.") (license license:expat))) +(define-public python-pybtex-apa-style + (package + (name "python-pybtex-apa-style") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pybtex-apa-style" version)) + (sha256 + (base32 "1cmgcpcvs9jcw4yxhiy217hdngp9p9nlp5x6s2qmkwj0iwgd39iq")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-backend #~'custom + #:test-flags + #~(list "-c" (string-append "import sys, pybtex.plugin;" + " sys.exit('apa' not" + " in pybtex.plugin.enumerate_plugin_names" + "('pybtex.style.labels'))")))) + (native-inputs (list python-pybtex python-setuptools)) + (home-page "https://github.com/naeka/pybtex-apa-style") + (synopsis "APA style for pybtex") + (description + "This package provides support for the APA style within pybtex.") + (license license:expat))) + (define-public python-onetimepass (package (name "python-onetimepass")