From 175d4c538b997485500aae112ac734ec452a242f Mon Sep 17 00:00:00 2001 From: Adam Massmann Date: Wed, 4 Apr 2018 02:10:32 -0400 Subject: [PATCH 2/3] gnu: Add python-pybtex --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 946bf7916..d874b4e3d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13103,4 +13103,30 @@ file system events on Linux.") (description "Lexer and codec to work with LaTeX code in Python.") (license license:expat))) +(define-public python-pybtex + (package + (name "python-pybtex") + (version "0.21") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pybtex" version)) + (sha256 + (base32 + "00300j8dn5pxq4ndxmfmbmycg2znawkqs49val2x6jlmfiy6r2mg")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (inputs + `(("python-latexcodec" ,python-latexcodec) + ("python-pyyaml" ,python-pyyaml) + ("python-six" ,python-six))) + (arguments + `(#:test-target "nosetests")) + (home-page "https://pybtex.org/") + (synopsis "BibTeX-compatible bibliography processor") + (description "Pybtex is a BibTeX-compatible bibliography +processor written in Python. +You can simply type pybtex instead of bibtex.") + (license license:expat))) -- 2.11.0