summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 534a4dded5..97eae1cf62 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")