@@ -13530,6 +13530,39 @@ interface to the Amazon Web Services (AWS) API.")
@acronym{AWS,Amazon Web Services}.")
(license license:asl2.0)))
+(define-public python-fluent-syntax
+ (package
+ (name "python-fluent-syntax")
+ (version "0.18.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference ; no tests in PyPI release
+ (url "https://github.com/projectfluent/python-fluent")
+ (commit (string-append "fluent.syntax@" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06a88fyhqvmhpp1wf7ghcmpzg92s8wgpb1bbi4y09ixva5r9dgwg"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'goto-syntax-dir
+ (lambda _
+ (chdir "fluent.syntax")))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "runtests.py")))))))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://github.com/projectfluent/python-fluent")
+ (synopsis "Localization library for expressive translations")
+ (description "This package includes the parser, serializer, and traversal
+utilities like Visitor and Transformer for Fluent files.")
+ (license license:asl2.0)))
+
(define-public python-pyfiglet
(package
(name "python-pyfiglet")