From 4a52fa1d3009007376af92d01f8574dbebd11dd0 Mon Sep 17 00:00:00 2001 Message-Id: <4a52fa1d3009007376af92d01f8574dbebd11dd0.1643064269.git.mail@nicolasgoaziou.fr> In-Reply-To: References: From: Petr Hodina Date: Fri, 30 Jul 2021 17:38:54 +0200 Subject: [PATCH v2 13/19] gnu: Add python-lingua-franca. * gnu/packages/python-xyz.scm (python-lingua-franca): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ff33d7adba..ede522d61e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20542,6 +20542,36 @@ (define-public python-linecache2 (define-public python2-linecache2 (package-with-python2 python-linecache2)) +(define-public python-lingua-franca + (package + (name "python-lingua-franca") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/MycroftAI/lingua-franca") + (commit (string-append "release/v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wx1c8a2k9155z74113yn1xcs6y0zljbgan2pbbmzsvki8m0z6jn")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "requirements.txt" + (("python-dateutil==") "python-dateutil>="))))))) + (propagated-inputs + (list python-dateutil)) + (home-page "https://github.com/MycroftAI/lingua-franca") + (synopsis "Mycroft's multilingual text parsing and formatting library") + (description "Lingua Franca converts data into spoken equivalents.") + (license license:asl2.0))) + (define-public python-traceback2 (package (name "python-traceback2") -- 2.34.0