~ruther/guix-local

93823d89aa3c4ed87dc1a5ab650647f3d0a424f8 — Ghislain Vaillant 6 months ago dc74850
gnu: Add python-pybtex-apa-style.

* gnu/packages/python-xyz.scm (python-pybtex-apa-style): New variable.

Change-Id: Ic73c4e01bd1e0d2a044ff0c2d9baaa8a7dc18fac
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +26 -0
@@ 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")