From 9b6376b618fecf5a8c536c1778a36f7ee55425ae Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 30 Sep 2025 20:18:28 +0100 Subject: [PATCH] gnu: Add python-language-data. * gnu/packages/python-xyz.scm (python-language-data): New variable. Change-Id: Ib43630b752992cd647c61adfa127276d0dbd7120 --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index faebc8fe306cacefcc5a9e640f70471b2e72a127..8e63bf11d5429fa064aa29a8ea5abd625f418f50 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1078,6 +1078,32 @@ comparison operators, as defined in the original @url{http://goessner.net/articles/JsonPath/, JSONPath} proposal.") (license license:asl2.0))) +(define-public python-language-data + (package + (name "python-language-data") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "language_data" version)) + (sha256 + (base32 "1v6pp8z2wxj3hafl62hbx8sbinpp9cr0r7y80rfi8mcmlf5fy03n")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-marisa-trie)) + (home-page "https://github.com/georgkrause/language_data") + (synopsis "Supplementary data about languages used by the langcodes module") + (description + "language_data is a supplement to the langcodes module, for working with +standardized codes for human languages. It stores the more bulky and +hard-to-index data about languages, particularly what they are named in +various languages.") + (license license:expat))) + (define-public python-log-symbols (package (name "python-log-symbols")