summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 20:18:28 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 00:36:55 +0100
commit9b6376b618fecf5a8c536c1778a36f7ee55425ae (patch)
treeafcc07140eb66503defeb2c730ca11f116c65d86 /gnu/packages/python-xyz.scm
parent9046b7f873494de76efadeaea9328bd3d0777089 (diff)
gnu: Add python-language-data.
* gnu/packages/python-xyz.scm (python-language-data): New variable. Change-Id: Ib43630b752992cd647c61adfa127276d0dbd7120
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index faebc8fe30..8e63bf11d5 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")